Lee Mac 发表于 2022-7-6 14:53:49

Variant (three-element array o

I am struggline to specify a three-element array of doubles
 
If I have say a list of two coords:
 

((1.0 2.0 0.0) (3.0 4.0 0.0))
 
How would I make this into a three-element array of doubles?
 
*hating safearray's at the moment...*
 
Cheers
 
Lee

ASMI 发表于 2022-7-6 15:44:22

Command: (vlax-3d-point '(1.0 2.0 0.0))#
 
I think you need variant - three-element array of doubles. This is 3d point representation for ActiveX functions.

Lee Mac 发表于 2022-7-6 16:00:52

Ahh, I knew of the function vlax-3d-point ... just didn't know to use it in this application ~ silly me
页: [1]
查看完整版本: Variant (three-element array o