MartinSomerville Posted January 15, 2010 Share Posted January 15, 2010 hi again Am still on the creating dynamic block lisp. I am running the lisp in the block editor. I have set up everything I need - all the parameters and all the actions associated with the parameters, and all the vis states - except I can't automate the lookup actions. The lisp works fine, having the action lookup table pop up each time and me manually entering the vis states etc (I am mainly using the lookups with vis states) but I want to do this without manual input - would save a lot of time... but can't seem to find where the lookup action data is kept or how to input without the popup table in the first place - there does'nt seem to be a command line alternative? The following is the dump from a lookup action (i can only get this when doing an (entlast) and converting to object. I don't know where it lives otherwise: Command: (vlax-dump-object a T) ; IAcadBlockLookupActionEntity: IAcadBlockLookupActionEntity Interface ; Property values: ; ActionType (RO) = "Lookup" ; Application (RO) = #<VLA-OBJECT IAcadApplication 00d591b4> ; Document (RO) = #<VLA-OBJECT IAcadDocument 015a0ab0> ; Handle (RO) = "2AC4" ; HasExtensionDictionary (RO) = 0 ; Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 17c62194> ; Layer = "0" ; Linetype = "BYLAYER" ; LinetypeScale = 1.0 ; Lineweight = -1 ; Material = "ByLayer" ; Name = "Lookup38" ; ObjectID (RO) = 2124082016 ; ObjectName (RO) = "AcDbBlockLookupActionEntity" ; OwnerID (RO) = 2123586744 ; PlotStyleName = "ByLayer" ; Position = (-504.062 228.51 0.0) ; TrueColor = #<VLA-OBJECT IAcadAcCmColor 17834310> ; Visible = -1 ; Methods supported: ; ArrayPolar (3) ; ArrayRectangular (6) ; Copy () ; Delete () ; GetBoundingBox (2) ; GetExtensionDictionary () ; GetXData (3) ; Highlight (1) ; IntersectWith (2) ; Mirror (2) ; Mirror3D (3) ; Move (2) ; Rotate (2) ; Rotate3D (3) ; ScaleEntity (2) ; SetXData (2) ; TransformBy (1) ; Update () T Would anyone have any ideas how I can do this. Thanks Martin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.