Code Red > AutoLISP (Vanilla / Visual)

Create Layer view port freeze

(1/1)

fabiocosta81:
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?

mhupp:
http://docs.autodesk.com/ACD/2011/ENU/filesDXF/WS1a9193826455f5ff18cb41610ec0a2e719-7a51.htm

add  (70 . 2) to your entmake

fabiocosta81:
2 = Layer is frozen by default in new viewports

this code freezes only the new views the currents are not frozen

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

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

Navigation

[0] Message Index

Go to full version