Jump to content
  • 0
Sign in to follow this  
SDG

Ability to Lock/Unlock specific class or layer

Question

this would allow you easily and quickly keep a class or layer visible, but uneditable. setting this as a command would allow one to set a button or keyboard command for quicker use.

also, commands for turning a layer or class on/off by selecting an item on that layer or class would be handy.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

quote:

Originally posted by LINE:
also, commands for turning a layer or class on/off by selecting an item on that layer or class would be handy.

try this, put in as a script in your resource pallet or make it a tool or command with the ORGANIZE/create PIO command.

Procedure TurnOffClass;VARx,y:REAL;hndObj:HANDLE;classname:STRING;

BEGIN

repeatGetPt(x,y);hndObj:= PickObject(x,y);SetSelect(hndObj);classname:= GetClass(hndObj);HideClass(classname); redraw;until hndObj=NIL;{script will be ended by clicking on a free space in your drawing}

END;RUN (TurnOffClass);

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×