Originally Posted by
alanjt
... and you have to feed burst-one an ename, not a pickset....
Excuse my ignorance, but we're wading out into the deep end of the pool. I'm not sure why I can't supply the tmp variable as the ename (I'm unclear of the difference). Here's my tmp variable:
Code:
(setq tmp ;; VLA Block Reference object
(vla-insertblock
spc ;; Modelspace object
(vlax-3d-point ins) ;; Insertion point
"M-GROUP-CSC-XML" ;; Block name
1.0 1.0 1.0 0.0 ;; (Scale=1:1, Rotation=0.0)
) ;; end vla-insertblock
)
And here's my code as it stands now. I guess I need to know how to convert my selection set (of one block) to a single entity. Would I do this through somethign like this: (ssname tmp 0) ?
Code:
(foreach obj
(_burst2 tmp)
)
But get:
Code:
Nested error trapping used incorrectly.
Resetting nesting index to 1.
bad argument type: lentityp #<VLA-OBJECT IAcadBlockReference2 0000000082beed18>