Jump to content
  • 0

Ability to Lock/Unlock specific class or layer


SDG

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.

Link to comment

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);

Link to comment

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.

×
×
  • Create New...