If you were using setdynprops, you will need values as: (setq values (list (cons "Origin" '(0.0 0.0)))) (vlax-invoke blk 'getdynamicblockproperties)Įdited Augby function by Lee that you are referencing accepts an association list of values. (vl-some '(lambda ( x ) (if (= prp (strcase (vla-get-propertyname x))) (vlax-get x 'value))) prp - Dynamic Block property name (case-insensitive) ![]() blk - VLA Dynamic Block Reference object Returns the value of a Dynamic Block property (if present) Get Dynamic Block Property Value - Lee Mac I assume it's an intrinsic property of a dynamicblock. I specified all of those except for origin. When I use Lee Mac's getdynprops function, I get the following result from the block: (("Stand". (vlax-Dump-Object (vlax-Ename->Vla-Object ent) t) ![]() (while (setq ent (car (entsel "\nSelect Entity to Dump"))) ![]() Dump all methods and properties for selected objects Wait is origin an attribute or a property of the block like the insertion point?īecause blocks don't have a property named Origin.
0 Comments
Leave a Reply. |