Thaw layer in current VP via command line
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Thaw layer in current VP via command line

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
San'dy
Guest





Posted: Tue Dec 21, 2004 10:54 pm    Post subject: Thaw layer in current VP via command line Reply with quote

Trying to do this for a button. Can it be done?
Thanks,

Back to top
Randall Culp
Guest





Posted: Tue Dec 21, 2004 11:13 pm    Post subject: Re: Thaw layer in current VP via command line Reply with quote

Sure use VPLAYER and (getvar "CLAYER")



"San'dy" <someone@somewhere.now> wrote in message
news:41c86350$1_1@newsprd01...
Quote:
Trying to do this for a button. Can it be done?
Thanks,

Back to top
San'dy
Guest





Posted: Tue Dec 21, 2004 11:19 pm    Post subject: Re: Thaw layer in current VP via command line Reply with quote

I will look into that. But, I was not clear. I need to thaw a specific layer
(defpoints) in the current viewport, but that VP is not "active". Meaning I
will be in PS and have no VP's active as in double clicking in them. I hope
I am being clear.
Thanks,

"San'dy" <someone@somewhere.now> wrote in message
news:41c86350$1_1@newsprd01...
Quote:
Trying to do this for a button. Can it be done?
Thanks,



Back to top
T.Willey
Guest





Posted: Tue Dec 21, 2004 11:39 pm    Post subject: Re: Thaw layer in current VP via command line Reply with quote

If it is always defpoints then

(command "_.vplayer" "_t" "defpoints" "" "")

Tim
Back to top
Paul Turvill
Guest





Posted: Tue Dec 21, 2004 11:45 pm    Post subject: Re: Thaw layer in current VP via command line Reply with quote

Now you're not being clear. If a viewport is "current" then it's also
"active." In either case, the VPLAYER command is what you're looking for.
___

"San'dy" <someone@somewhere.now> wrote in message
news:41c86927$1_3@newsprd01...
Quote:
I will look into that. But, I was not clear. I need to thaw a specific
layer (defpoints) in the current viewport, but that VP is not "active".
Back to top
San'dy
Guest





Posted: Tue Dec 21, 2004 11:59 pm    Post subject: Re: Thaw layer in current VP via command line Reply with quote

Ok, when I used the term current I meant as in the layer manager column
"current VP".

"Paul Turvill" <nospam@turvill.com> wrote in message
news:41c86f44_3@newsprd01...
Quote:
Now you're not being clear. If a viewport is "current" then it's also
"active." In either case, the VPLAYER command is what you're looking for.
___

"San'dy" <someone@somewhere.now> wrote in message
news:41c86927$1_3@newsprd01...
I will look into that. But, I was not clear. I need to thaw a specific
layer (defpoints) in the current viewport, but that VP is not "active".

Back to top
San'dy
Guest





Posted: Wed Dec 22, 2004 12:04 am    Post subject: Re: Thaw layer in current VP via command line Reply with quote

That only seems to work if the VP that defpoints is frozen in is active
(double click). If I am in PS and no Vp's are active no, it does not thaw
the layer in the "current VP" column of the layer manager.
Thanks,

"T.Willey" <nospam@address.withheld> wrote in message
news:21446562.1103654400191.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
If it is always defpoints then

(command "_.vplayer" "_t" "defpoints" "" "")

Tim
Back to top
krispy
Guest





Posted: Wed Dec 22, 2004 2:45 am    Post subject: Re: Thaw layer in current VP via command line Reply with quote

Code:

(command ".vplayer" "_T" "DEFPOINTS" "_S" (ssget '((0 . "VIEWPORT"))) "" "")
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB