Results 1 to 8 of 8

Thread: Thaw layer in current VP via command line

  1. #1
    San'dy Guest

    Thaw layer in current VP via command line

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

  2. #2
    Randall Culp Guest
    Sure use VPLAYER and (getvar "CLAYER")



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

  3. #3
    San'dy Guest
    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...
    Trying to do this for a button. Can it be done?
    Thanks,

  4. #4
    T.Willey Guest
    If it is always defpoints then

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

    Tim

  5. #5
    Paul Turvill Guest
    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".

  6. #6
    San'dy Guest
    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...
    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".

  7. #7
    San'dy Guest
    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@jiveforu m2.autodesk.com...
    If it is always defpoints then

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

    Tim

  8. #8
    krispy Guest
    Code:
    (command ".vplayer" "_T" "DEFPOINTS" "_S" (ssget '((0 . "VIEWPORT"))) "" "")

Similar Threads

  1. Make Object Layer Current
    By David Lake in forum AutoCAD
    Replies: 0
    Last Post: 05-03-2005, 05:10 PM
  2. Set a Profile Current from the Command Line
    By bcbii in forum Customization
    Replies: 1
    Last Post: 04-05-2005, 05:59 AM
  3. Replies: 0
    Last Post: 03-07-2005, 03:04 PM
  4. make object layer current
    By AMKELLY in forum Customization
    Replies: 3
    Last Post: 01-13-2005, 11:57 AM
  5. Replies: 1
    Last Post: 01-11-2005, 12:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum