Hi,
This might sound like a silly question, but how do I find the insertion point of a civil 3d Structure.
(if (> (setq SelectionSet (ssget "X" (list(cons 0 "AECC_STRUCTURE")))) Nil)
(progn
(setq Objectctr 0)
(repeat (sslength SelectionSet)
(setq Item (ssname SelectionSet Objectctr))
(setq Item (vlax-ename->vla-object Item))
(setq StructureName (vla-get-name Item))
(setq StructurePos (vla-get-position Item))
(setq Objectctr (1+ Objectctr))
)
)
)
How do I extract the xyz from this line!
(setq StructurePos (vla-get-position Item))
Sorry if its obvious, I can't see the wood from the trees here!
Cheers
John