明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 800|回复: 1

[提问] 请教(command "UCS")怎么用 vl 类函数表示

[复制链接]
发表于 2016-6-18 22:16:05 | 显示全部楼层 |阅读模式
请高手指教
下面几个命令如何用 VL 函数实现
论坛里没搜到

(command "ucs" "")
(command "ucs" "3" p1 p2 "")
(command "ucs" "s" "temp")
(command "ucs" "r" "temp")
(command "ucs" "p")
(command "plan" "")
还有怎么创建一个新的布局(不是切换至默认的布局1、布局2)
"觉得好,就打赏"
还没有人打赏,支持一下
发表于 2016-6-20 13:42:00 | 显示全部楼层
VBA : RetVal = object.Add(Origin, XAxisPoint, YAxisPoint, Name)

VL : RetVal = (vla-Add Object Origin XAxisPoint YAxisPoint Name)

Object : UCSs
The collection to add the new object to.
Origin : Variant (three-element array of doubles); input-only
The 3D WCS coordinates specifying where the UCS is to be added.
XAxisPoint : Variant (three-element array of doubles); input-only
The 3D WCS coordinates specifying a point on the positive X axis of the UCS. The XAxisPoint and YAxisPoint together cannot specify the same location as the Origin.
YAxisPoint : Variant (three-element array of doubles); input-only
The 3D WCS coordinates specifying a point on the positive Y axis of the UCS.
(The Z axis follows by applying the right-hand rule.)
Name : String; input-only
The name of the UCS to add to the collection.
RetVal : UCS object
The newly added UCS object.

点评

黄总 plan怎么解决呢  发表于 2016-6-22 17:28
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2025-5-20 08:53 , Processed in 0.205298 second(s), 31 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表