乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 69|回复: 2

[编程交流] Variant (three-element array o

[复制链接]

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 14:53:49 | 显示全部楼层 |阅读模式
I am struggline to specify a three-element array of doubles
 
If I have say a list of two coords:
 
  1. ((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
回复

使用道具 举报

2

主题

439

帖子

536

银币

限制会员

铜币
-14
发表于 2022-7-6 15:44:22 | 显示全部楼层
  1. 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.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 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
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 22:20 , Processed in 0.381571 second(s), 58 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表