Jump to content

Recommended Posts

Posted

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

Posted

Command: (vlax-3d-point '(1.0 2.0 0.0))
#<variant 8197 ...>

 

I think you need variant - three-element array of doubles. This is 3d point representation for ActiveX functions.

Posted

Ahh, I knew of the function vlax-3d-point ... just didn't know to use it in this application ~ silly me :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...