+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Senior Member alijahed's Avatar
    Computer Details
    alijahed's Computer Details
    Operating System:
    Windows 7
    Computer:
    DELL M4500
    Using
    Inventor 2014
    Join Date
    Apr 2007
    Location
    Melbourne
    Posts
    486

    Default change the visibility list of a dynamic block by lisp

    Hi All,

    In regards to changing the visibility list of a dynamic block I found this "(chgdynprop)"

    I worte:

    (chgdynprop F_J "Visibility" (nth 7 info))

    and I get:

    Command: ; error: no function definition: CHGDYNPROP

    Can somebody help me please?

    Cheers

    Ali

  2. #2
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,901

    Default

    Seems that the definition of CHGDYNPROP function isn't loaded when you call it - try to place the appropriate code into your LISP file or load it on command line:

    i.e.
    Code:
    (load "chgdynprop.lsp")
    Alternatively may paste into your LISP file that function's code.

    Regards,

  3. #3
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2013
    Join Date
    Apr 2008
    Posts
    6,143
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  4. #4
    Senior Member alijahed's Avatar
    Computer Details
    alijahed's Computer Details
    Operating System:
    Windows 7
    Computer:
    DELL M4500
    Using
    Inventor 2014
    Join Date
    Apr 2007
    Location
    Melbourne
    Posts
    486

    Default

    Registered forum members do not see this ad.

    well well....

    I think I opened another chapter for learning!

    I am so confused now by VLA or VLAX things and Activex and ... which is apparently related to playing with visibility list of a dynamic block.
    Can somebody please explain these to me? I went through help and got more confused because more and more new terms came through.

    Is there any recommendation for books?

    Cheers

    Ali

Similar Threads

  1. Script (not LISP!) to change VP visibility etc?
    By Kostritz in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 2
    Last Post: 24th May 2010, 08:17 pm
  2. Dynamic block name - Visibility states
    By W3D in forum AutoCAD Drawing Management & Output
    Replies: 5
    Last Post: 29th Jan 2010, 08:48 pm
  3. Dynamic Blocks - Images in the Visibility list?
    By Seneb in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 17th Feb 2009, 04:54 pm
  4. Dynamic Block - Visibility Parameters
    By JBullseye74 in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 17th Aug 2007, 01:54 pm
  5. macro to change the visibility of a particular dynamic block
    By comcu in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 27th Jun 2007, 11:03 pm

Bookmarks

Posting Permissions

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