Hi can somebody helpme with getting startpoint:
Command: ; error: bad argument type: VLA-OBJECT 2127010984 - this is the error
(setq temp (ssget "l")) ;;;iselect blocj
(command "_.explode" temp) ;;;i explode it
(setq temp1 (entlast)) ;;get the line out of block
(setq objid1 (vla-get-objectid (vlax-ename->vla-object temp1)))
(setq stpt (vlax-SafeArray->List (vlax-Variant-Value (vla-Get-StartPoint objid1))))
(print stpt)
(command "_.erase" temp1 "")
many thanks!