How to Lock/Unlock Drawing Objects in BricsCAD Like ZWCAD?
Hello Everyone,
Need Guidance on how to Lock/Unlock Objects in BricsCAD Drawing.
I have attached a lisp file but it only locks the objects and saves in an older file format which changes the hatch color after applying Lock command of the given lisp.
i need help how to edit Lisp and updating the dwg save format to 2010 or above file format.
Aaditya Patil
Need Guidance on how to Lock/Unlock Objects in BricsCAD Drawing.
I have attached a lisp file but it only locks the objects and saves in an older file format which changes the hatch color after applying Lock command of the given lisp.
i need help how to edit Lisp and updating the dwg save format to 2010 or above file format.
Aaditya Patil
0
Comments
-
I also wish to be able to lock objects - to prevent them from any selection,
highlighting or unwanted manipulation.
But I would also want that on LAYER level.
An option to show these as an underlay and for snapping, but keep them
strictly passive.
Also options to assign a global transparency or desaturation value would be nice.
And I heavily miss an option to temporarily lock or hide every but the active Layer.
("Layer Lock" option in Microstation or
"show, snap others"/"gray, snap others"/"active only" in Vectorworks)0 -
Hello Michael,
Thank you for your reply, but what i want is another tools, Just check below video link for your reference.
https://www.youtube.com/watch?v=k-bghsc1AIc
Aaditya Patil0 -
Ah, misunderstood your question.
I was about a temporary solution while drawing.
Others may be able help adapting your LISP.
Or know another workaround.0 -
Michael, maybe I misunderstand you, but doesn't Bricscad provide all that? "Locked" is one of the properties of a layer. It makes all objects on the layer darker, and snappable but not editable. I don't usually use that, but I very often use commands that set the active layer by clicking on an object on that layer, and then hide all layers except that one. And I even more often use a command that turns off layers selectively by clicking on an object on the layer.Michael Mayer said:I also wish to be able to lock objects - to prevent them from any selection,
highlighting or unwanted manipulation.
But I would also want that on LAYER level.
An option to show these as an underlay and for snapping, but keep them
strictly passive.
Also options to assign a global transparency or desaturation value would be nice.
And I heavily miss an option to temporarily lock or hide every but the active Layer.
("Layer Lock" option in Microstation or
"show, snap others"/"gray, snap others"/"active only" in Vectorworks)0 -
It is that "selectable" and highlighting that annoys me.
(vs VW's "gray" option)
And I miss my "Active Only" control, which brings
back my former Layer state when I go back to :
Gray Others
Gray/Snap Others
Show Others
Show/Snap Others
Show/Snap/Modify Others
I know you customized your whole Bricscad by Scripts and LSIP to
escape from Autodesk behavior.
I just think it would be easier if it was available out of the box.
I don't use "Locked" Layers in Bricscad either, as it doesn't make much sense to me.
In the past I really clicked Layers on/off instead.
Since BIM Structure Panel I work around by visibility isolate, on/off instead.
Which off course only works in a "structured" BIM Model, not in a typical
2D drawing.
On the other hand, if you have a strict Layer System, you could configure/misuse
the Structure Tree to sort for mere things like Layers
0 -
you may be able to do this via BRX or .NET. with an AcDbObjectOverrule0
-
I use Show/Hide/Isolate all the time in 'typical 2D drawings', as well as 3D.Michael Mayer said:Since BIM Structure Panel I work around by visibility isolate, on/off instead.
Which off course only works in a "structured" BIM Model, not in a typical
2D drawing.
Or select the object(s), type BLO and make a (temporary?) Block out of the objects, put it on a dedicated layer called 'Freezable' or something and freeze the layer. Then it's visible, snapable but otherwise untouchable. Yes, looks like in ZWcad, LOCK does same with fewer clicks etc but not much - and does the selection endure (by the password?) or does it have to be selected and LOCKed afresh?
0