Having Trouble Positioning Toolbars

Having Trouble Positioning Toolbars

Craig_Patrick
Participant Participant
575 Views
2 Replies
Message 1 of 3

Having Trouble Positioning Toolbars

Craig_Patrick
Participant
Participant

Hello,


I am trying to write a routine that loads custom toolbars into the AutoCAD workspace. I was able to come up with some code for this task, however I need it to be dock the toolbars without disturbing the positions of the other visible toolbars. Also, upon docking several custom toolbars, there does not seem to be any order in their docking from left to right.  My team members all have different UI preferences in AutoCAD and I want the custom toolbars to load while keeping all other toolbars in the same positions.

 

I tried using the toolbar float method to position the toolbars, however I am using multiple monitors and the toolbars always float within my primary screen.

 

Can anybody help me with this ? I am out of ideas of how to get this simple task to work.

0 Likes
576 Views
2 Replies
Replies (2)
Message 2 of 3

moogalm
Autodesk Support
Autodesk Support

This is an idea, can you please try setting  system variable 'LOCKUI' to 4 and load your custom toolbar ?, change the setting back to as it [LOCKUI], I don't have code setup to try this out.

0 Likes
Message 3 of 3

dgorsman
Consultant
Consultant

Are you generating these toolbars via code, or are you loading them from a partial CUIx?

----------------------------------
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.


0 Likes