Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Load a cuix drom a profile

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
nsd217
878 Views, 7 Replies

Load a cuix drom a profile

Is it possible to use a load statement in a profile to automatically load/unload a cuix?

7 REPLIES 7
Message 2 of 8
dgorsman
in reply to: nsd217

That kind of depends if you are using the term "profile" as normally defined for AutoCAD.  Part of the AutoCAD profile is the storage of search paths, including the Main and Enterprise CUIx files.  These can both include partial CUIx files.  So it is possible to have CUIx files load automatically, based on an AutoCAD profile, without any kind of "load" statement/command/whatever.

 

To have a partial CUIx load "on the fly" ie. not loaded at start-up but called through a command or automation, requires some additional automation not only for loading it but also for adjusting the active workspace to include the desired UI elements from the CUIx.  Loading on the fly like this will always add the new CUIx as partial to the Main CUIx, unless it is deliberately replacing either the Main or Enterprise CUIx (possible but can create massive headaches).

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 3 of 8
nsd217
in reply to: nsd217

Here's my issue. The AutoCAD profile is being loaded from a "profile switcher"application which does just that. It loads stored partial profiles. Is there a way to add a load statement to the profile (.arg) to load a partial cuix?

Message 4 of 8
dgorsman
in reply to: nsd217

No such thing as a "partial profile".  ARG files are ignored if the profile name is already present, unless there is some automatic profile deletion.  If your profiles are being managed for you, then in my experience trying to get around it will likely be more work than you will save.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 5 of 8
nsd217
in reply to: dgorsman

Not trying to work around it. Someone where I work created an application
that allows the user to switch a "partial" profile. By that I mean most of
the xml stuff has been stripped leaving mostly path pointers. The "partial"
profile is amended with the usual support paths and then programmatically
loaded into the AutoCAD session.
The problem is that some of the clients require client specific toolbars
and partial menus that I was hoping to load from the client's profile but I
can't seem to do it which is why I was hoping to be able to add a load
statement in the client profile to load certain partial menus.
I hope I'm a littler clearer and not more "fuzzy"
Message 6 of 8
dgorsman
in reply to: nsd217

A little more clear, thanks.  Given that the switching is customized, you need to have that system amended to make a call to load the client CUIx on the fly.  That will load it as partial to the current Main, which will give users the ability to add the content (toolbars, menus, etc.) to their workspace.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 7 of 8
nsd217
in reply to: nsd217

That's kind of what I thought but hoping I was wrong.

Thank you very muck for your quick response. I really appreciate you sharing.

Message 8 of 8
Anonymous
in reply to: nsd217

I've done an Autocad Add-in Tool loaded via arx.

I now have partial cuix with include every command and I can load it in my workspace,

but i would like to prepare some kind of setup in order to load the cuix on the fly when i call my arx.

 

Someone can give me some help? 

dgorsman?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost