What's wrong with this code?

kemp

Usenet Archive
Joined
Dec 18, 2003
Messages
142
Reaction score
0
(set p2 (vlax-safearray->list
(vlax-variant-value
(vlax-get-property detBub 'InsertionPoint))))

detBub is a block. If I run this:
(vlax-safearray->list
(vlax-variant-value
(vlax-get-property detBub 'InsertionPoint)))
the 3d point is displayed, but I can't setq it as p2. What am I missing?

Thanks!
kemp
 
That looks quite a bit easier... Thanks!

kemp

Rudy Tovar said:
(setq ins (vla-get-insertionpoint <acadobject>))?
 
OK, the missing "Q" is probably what I needed. I used the simpler method to get the insertion point too. Thanks to all!

kemp
 

Latest threads

Back
Top