TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: fabiocosta81 on November 12, 2022, 09:29:45 PM
-
I wanted to create a layer that was already frozen in the view. I'm not getting. I don't know what dxf code to use entmake or create by _layer make-up. Can you help?
-
http://docs.autodesk.com/ACD/2011/ENU/filesDXF/WS1a9193826455f5ff18cb41610ec0a2e719-7a51.htm
add (70 . 2) to your entmake
-
2 = Layer is frozen by default in new viewports
this code freezes only the new views the currents are not frozen
-
I'm guessing you'll have to modify existing viewports. The flag is for creation of new viewports to check if they should freeze a layer when they are created.
-
Lisp function VPLAYER (Command) https://help.autodesk.com/view/ACD/2023/ENU/?guid=GUID-EB4DA3DA-5466-4D48-9AEC-6828B82BDEF9
Newfrz (New Freeze)
Creates new layers that are frozen in all viewports.