Jump to content

Recommended Posts

Geoffers

It must be  more than 5 years ago I last dropped into this site. I recognise a few names but the list of all members seems to have disappeared...

Anyway, the question: 

I am trying to make 2 macros for the Tools palette to turn layer Vport on and Vport off to avoid having to scroll up and down the layers palette.

Can anyone please advise me why the following, say for 'Vport On' does not work

^C^C layer ON; Vport;; 

I am waiting for the "oh yes, of course" moment when some solves it. Thanks in advance.

Link to post
Share on other sites
BIGAL

A mistake you need to look at spaces ^C^C layer ON; Vport;;  ps no space after ctrl+c some commands have ^p as well.

 

Also try -layer, layer will pop dialouge box.

 

So -layer on "vport" then question ?

 

Do it all manual write it down each space is a return.

Link to post
Share on other sites
Geoffers

Thanks for the info, I will give it a go when I open up ACAD LT later. Appreciated.

Link to post
Share on other sites

I use a modified version of layer-toggle-freeze.lsp by Jimmy Bergmark in a Ribbon Drop-Down Menu for lists of layers to toggle freeze or thaw.

 Example:

^P(or layer-toggle-freeze(load "layer-toggle-freeze.lsp"))(layer-toggle-freeze '("Vport"))

or

^P(or layer-toggle-freeze(load "layer-toggle-freeze.lsp"))(layer-toggle-freeze '("V-NODE" "V-NODE-CNTR" "V-NODE-CURB" "V-NODE-DRVE" "V-NODE-DRIVE" "V-NODE-EOP" "V-NODE-EOR" "V-NODE-EOW" "V-NODE-ESW" "V-NODE-GARB" "V-NODE-GRAV" "V-NODE-LINE" "V-NODE-MRW" "V-NODE-RAIL" "V-NODE-SSWR" "V-NODE-TOB" "V-NODE-TOE" "V-NODE-TOEG" "V-NODE-TOPD" "V-NODE-TOPG" "V-NODE-WATR" "V-NODE-WETL"))

as an example of a large list of Surface point layers I often toggle frozen/thawed.

I use distinctive images like RCDATA_16_VPONE for the Vport layer or TRANSCMD_POINT_OBJECT_16 for the Surface point layers.

Edited by tombu
Link to post
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
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...