Jump to content

Recommended Posts

Posted

Hi All

 

I am trying the use the ssget to select a vp then command mview & mspace then vplayer to freeze & Thaw layers depending on the layoutname.

 

heres what i have

 

(setq GAVP (ssget "X" (list (cons 0 "VIEWPORT")(cons 410 LAYOUTNAME)(cons 62 1))))

(command "mview" "on" GAVP "")

(command "mspace")

(command "vplayer" "f" "**" "a" "t" *0?RYD-GA-700*,*GN-COLS*,*" "a" "f" CONZONE2 "a" "")

(command "pspace")

 

Problem is all the paperspace layers are being frozen with the vplayer command, even though i am in mspace not sure what im doing wrong. Can anyone please advise?

Posted

It freezes all of them because you are telling it to.

 

try this

 

(command "vplayer" "f" "**" "c" "t" *0?RYD-GA-700*,*GN-COLS*,*" "c" "f" CONZONE2 "c" "")

Posted

Sorry for being so short in my last post. Quite simply you were choosing "a" for all viewports instead of "c" for Current viewport. And as we all know paper space is considered a viewport therefor freezing the layers inside it.

Posted

Ah!

 

I didnt know that all mean paperspace as well, i assumed it meant all viewports but thank you for clarifying that.

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