Author Topic: (vlax-get-property obj 'InsertionPoint)  (Read 3392 times)

0 Members and 1 Guest are viewing this topic.

ronjonp

  • Needs a day job
  • Posts: 7529
(vlax-get-property obj 'InsertionPoint)
« on: September 21, 2005, 10:29:42 AM »
How do I make this a usable point? It keeps giving me "#<variant 8197 ...>"?

Thanks,

Ron

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

LE

  • Guest
Re: (vlax-get-property obj 'InsertionPoint)
« Reply #1 on: September 21, 2005, 10:33:56 AM »
Code: [Select]
(vlax-safearray->list (vlax-variant-value (vlax-get-property obj 'InsertionPoint)))

Code: [Select]
(vlax-get obj 'insertionpoint)

Code: [Select]
(vlax-safearray->list (vlax-variant-value (vla-get-insertionpoint obj)))

LE

  • Guest
Re: (vlax-get-property obj 'InsertionPoint)
« Reply #2 on: September 21, 2005, 10:40:43 AM »
Code: [Select]
(safearray-value (variant-value (vlax-get-property obj 'InsertionPoint)))

LE

  • Guest
Re: (vlax-get-property obj 'InsertionPoint)
« Reply #3 on: September 21, 2005, 10:45:02 AM »
You can use "...." for the property like: "InsertionPoint" and the '..... too

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: (vlax-get-property obj 'InsertionPoint)
« Reply #4 on: September 21, 2005, 11:25:11 AM »
Thanks Luis that's some good information. :-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

ronjonp

  • Needs a day job
  • Posts: 7529
Re: (vlax-get-property obj 'InsertionPoint)
« Reply #5 on: September 21, 2005, 11:39:53 AM »
Thanks Luis :)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC