MNL load is reversed

hi,

I have a function that's shows DWT files in a dialog, after user selection the files it opened with

(vla-sendcommand
   (vla-get-activedocument
     (vlax-get-acad-object)
   )
   (strcat "(command \"_.OPEN\")\n" dwt-file "\n")
 )

Apparently in this drawing the partial CUI files (and there MNL files) are loaded in reverse order. Because i have MNL's for several partial CUI's this is a problem because the main MNL is loaded last. This MNL however defines functions used in the other MNL's, and therefor nothing is loaded.

Trying this in the command-line results in the same:

(setq f$ "C:\\MyApp 2008\\templates\\myapp 2008.dwt")

(command "_open" f$)

MNL's are loaded in reverse order.

 

regards

 

 

 

 

Comments

This discussion has been closed.