Results 1 to 2 of 2

Thread: LSP & Dynamic Block Visibility States

  1. #1
    I could stop if I wanted to
    Join Date
    2015-12
    Posts
    385
    Login to Give a bone
    0

    Cool LSP & Dynamic Block Visibility States

    Hello all,
    I am wondering if there is a way to make my dynamic block come in with a certain visibility state.

    Here is my current program that inserts the block and such:

    Code:
    (defun c:c14 () (princ))
    (defun 1x4ceilinglights (/ currlay)
      (setq currlay (getvar "Clayer"))
      (command "-layer" "make" "E-LITE-CLNG-GEN" "COLOR" "CYAN" "" "")
      (command "insert" "T:/AEI CAD/Lisp/LISP SUPPORT/Dynamic Blocks/dyn 1 x 4 lights.dwg" "s" 1 pause pause)
      (setvar "clayer" currlay)
      (princ))
    Now lets say I wanted to make the dynamic block "dyn 1 x 4 lights.dwg" to come in with the visiblity state of "suspended" instead of the first on the list that is "fluorescent"?


    Thanks all,
    Andre
    Last edited by Opie; 2007-11-19 at 07:12 PM. Reason: [CODE] tags added

  2. #2
    Active Member David.Hoole's Avatar
    Join Date
    2000-12
    Location
    Yorkshire
    Posts
    84
    Login to Give a bone
    0

    Default Re: LSP & Dynamic Block Visibility States

    Andre

    Take a look at this link on the Autodesk Discussion Forums:

    http://discussion.autodesk.com/threa...sageID=5155428

Similar Threads

  1. Replies: 2
    Last Post: 2013-06-04, 02:59 AM
  2. Dynamic blocks, Visibility states, Attributes
    By megumby in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2007-08-03, 05:06 AM
  3. Getting Visibility States to work in a Single door Dynamic Block
    By KGC in forum Dynamic Blocks - Technical
    Replies: 3
    Last Post: 2007-01-02, 03:40 PM
  4. Is there a way to see all Visibility states within a Dynamic Block
    By KansasCAD in forum Dynamic Blocks - Technical
    Replies: 3
    Last Post: 2006-04-17, 06:51 PM
  5. Loose dynamic states from sub block after insertion into master block
    By ANRCREATIONS in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2005-11-15, 02:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •