明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1593|回复: 3

怎样把程序里的变体点数组转化为sendcommand能识别的点?

[复制链接]
发表于 2007-4-28 16:03:00 | 显示全部楼层 |阅读模式
怎样把程序里的变体点数组转化为sendcommand能识别的点?
发表于 2007-4-28 16:59:00 | 显示全部楼层
变成文本x,y就是啊。
 楼主| 发表于 2007-4-28 18:15:00 | 显示全部楼层

什么意思?

你的意思是sendcommand(floattostr(x),……)用这种形式?刚刚试了,还是不行

发表于 2007-4-29 07:56:00 | 显示全部楼层

ThisDrawing.SendCommand "_pline" & vbCr
    x = point(0)  

     y = point(1)
    ThisDrawing.SendCommand x & "," & y & vbC

这样就行了!

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

本版积分规则

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

GMT+8, 2025-2-22 18:36 , Processed in 0.176547 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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