Is there a way to turn off the "Move Boundary with Reference" setting with a key-in or UCF variable? I need to move a number of references around WITHOUT moving the current reference boundary. This should be a trivial process, but I'm at a loss on how to force "Move Boundary with Reference" off.
Lorys
This screen capture showing the Move Reference tool available in the Reference dialog is where the "Move Boundary with Reference" toggle is defined that I believe this user is trying to define with a key-in or UCF.
RegardsAndrew BellTechnical SupportBentley Systems
can you provide a picture of what your trying to achieve ... I not sure what you mean.. also more detail ...
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me
The quickest way I have found to find out whether a key-in is available for a particular setting or operation in MicroStation is to record a macro. I have opened the Move Reference, where the toggle for Move Boundary with Reference is located, and have turned off this toggle. The following is the VB code that was recorded for this operation which shows there is no specific key-in as such and I do not believe there is a configuration variable specifically for this toggle.
' Start a command CadInputQueue.SendCommand "DIALOG REFERENCE TOGGLE" CadInputQueue.SendCommand "REFERENCE MOVE"' Set a variable associated with a dialog box SetCExpressionValue "tcb->msToolSettings.additionalRefTools.dontMoveBoundary", 1, "" CadInputQueue.SendCommand "REFERENCE MOVE" CommandState.StartDefaultCommand
Depending on the type of settings that is being changed while working in MicroStation it can be different where this information is being stored for use next time this dialog is opened. Most settings, like moving the location of dialogs or active colour etc, would be stored within the User Preference File (UPF). Most of the toggles within the dialogs, though, are actually stored within the DGN file itself. So what you should noticed is that if you set this toggle to be off, save the DGN file, then Save Settings. The next time you open this particular DGN file that toggle will be off but if you open a different DGN file the toggle will be on.
I think that defining these type of toggles to be either on or off all the time will be a difficult option to be able to configure. You could define it using VB code but that would really be getting too complex an option. I would suggest that this type of setting could be defined within the DGN seed file instead.