Code Red > AutoLISP (Vanilla / Visual)

Create Layer view port freeze


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?


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)
Newfrz (New Freeze)
Creates new layers that are frozen in all viewports.


[0] Message Index

Go to full version