CUI Unload

CUI Unload

Anonymous
Not applicable
406 Views
4 Replies
Message 1 of 5

CUI Unload

Anonymous
Not applicable
I am having problems completely unloading a partial CUI at the end of an AutoCAD session. This CUI is loaded with only specific drawings so it needs to be unloaded when these drawings are closed. I have unloaded it through the AutoCAD ActiveX extensions but it must not be completely unloaded because it reappears the next time I start AutoCAD.

Is there something more that I can do with VBA to fix this problem? Thanks for any help that you can give!
0 Likes
407 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
If you do not perform a save on the parent cui file, the changes made via
ActiveX are only for the current session.

--
R. Robert Bell


wrote in message news:5053003@discussion.autodesk.com...
I am having problems completely unloading a partial CUI at the end of an
AutoCAD session. This CUI is loaded with only specific drawings so it needs
to be unloaded when these drawings are closed. I have unloaded it through
the AutoCAD ActiveX extensions but it must not be completely unloaded
because it reappears the next time I start AutoCAD.

Is there something more that I can do with VBA to fix this problem? Thanks
for any help that you can give!
0 Likes
Message 3 of 5

Anonymous
Not applicable
What VBA function do I use to save a CUI file? I can't seem to find any documentation on this!
John Bisschop
0 Likes
Message 4 of 5

Anonymous
Not applicable
The MenuGroup object has that method.

--
R. Robert Bell


wrote in message news:5054005@discussion.autodesk.com...
What VBA function do I use to save a CUI file? I can't seem to find any
documentation on this!
John Bisschop
0 Likes
Message 5 of 5

Anonymous
Not applicable
The AutoCAD 2006 ActiveX/VBA Reference states the Save method is no longer supported for menu groups. But, there is no indication of a replacement function.

I am so far unable to find another solution.
0 Likes