Jump to content

Macro. Selecting objects with the pause "\"


Recommended Posts

Hello there.

I was looking for a macro, that locks all layers except the one, that contains the object, that I select.

 

^C^C-layer;LO;*;U;;\;

 

Somehow the pause "\" skips object selection. Any suggestions why?

Link to comment
Share on other sites

I've not tried it but your macro seems to be missing something, the following would seem more logical:

 

^C^C-LAYER;LO;;ALL;;U;;\;;

 

When selecting the layers to freeze you can't use an asterisk (*)

 

Hope that helps

Link to comment
Share on other sites

1. use ai_molc or laymcur to select an object on the layer you want to keep unlocked (also setting it as current).

2. use -layer to lock all layers, then unlock by name, using Diesel to get the current layer $(getvar,clayer)

 

I'm a coder, not a macro writer, so I'll leave the logistics to someone else.

 

Maybe...

^C^C_ai_molc;\-layer;LO;*;U;$(getvar,clayer);;

Edited by alanjt
Link to comment
Share on other sites

Is _LAYISO available in 2007LT?

I'm pretty sure it became core in 2008. Prior to that it was just a Bonus/Express Tool LISP routine that turn the layers off.

Link to comment
Share on other sites

I'm pretty sure it became core in 2008. Prior to that it was just a Bonus/Express Tool LISP routine that turn the layers off.

 

I know it was core in 2008, just wasn't sure about 2007.

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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...