Several follow-up issues from DCAL Limitations
The ability to open and close files with a running macro is still important. Project information is rarely contained in a single document and some means of updating information between files would be nice. I can use a file to store update information for use in separate drawings, but the user must manually open each and start the macro. It would be much easier and more effective if this exchange could be automated. Would it be possible to provide a means for a macro to open another drawing file and invoke itself in the new running file stack? Instructions between running macros could be handled by messages. I have not dug too deep into Windows messaging yet, but I assume that means that Datacad must pass messages to the macro expanding the "Main" procedure and "State" types.
Xrefs. Although I can make changes in Xrefs by adjusting their attributes, How can I generate a new one? Access to an Xref dialog would help, but it would would be better if the macro could provide input as well. This is similar to the problem with managing hatching through DCAL The only oiption appears to be invoking a user dialog to generate a hatch pattern. It would be nice if the macro could set-up the field information and generate the hatch pattern without user input. I am more interested in access to Xrefs than hatching however.