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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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.

×
×
  • Create New...