几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » ObjectARX(VB.NET/C#)
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-04-20, 07:36 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】关于.net调试等的一些问题

关于.net调试等的一些问题
www.dimcax.com
关于.net调试等的一些问题
1).net开发acad和以前用vba大不一样.vba中,那些立即窗口,本地窗口.监视窗口,f8,ctrl+f8用的很方便,.net就不一样了,调试工作很不方便,该如何是好?
2).net的语法和vba差别也很大.vba中:thisdrawing.sendcommand "ucs w "能使ucs转为世界坐标系,.net就不行了,该怎么改啊!
3)ucs问题:如何得到当前的ucs,使后面的作图都在此ucs下进行!如何将此ucs返回给一个变量?用sendcommand方法建立的ucs如何返回给一个变量?
先提这些问题,等待您的指导,谢!
1、是否可以先将工程类型改为应用程序,acadapp用getobject函数获得,调试成功后再改为类库
谢谢lzh741206!
本论坛斑竹暂缺,最佳人选是……
2、看看这段话有没有帮助
you define a ucs to change the location of the (0, 0, 0) origin point and the orientation of the xy plane and the z axis. you can locate and orient a ucs anywhere in 3d space, and you can define as many ucss as you require.
all coordinates in activex automation are entered in the world coordinate system (wcs). use the method to return the transformation matrix of a given ucs. use this transformation matrix to find the equivalent wcs coordinates.
use the property to turn the ucs icon on or off for a given viewport.
to make a ucs active, use the property on the document object. if changes are made to the active ucs, the new ucs object must be reset as the active ucs for the changes to appear. to reset the active ucs, simply call the activeucs property again with the updated ucs object.
to add a new ucs to the drawing, use the method off the ucss collection. to edit or query an existing ucs, use the following methods and properties:
以下是引用lzh741206在
me.close
[此贴子已经被作者于
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭



所有的时间均为北京时间。 现在的时间是 04:02 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多