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

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(AutoLISP) (http://www.dimcax.com/hust/forumdisplay.php?f=178)
-   -   dimreassociate尺寸关联问题 (http://www.dimcax.com/hust/showthread.php?t=10587)

yang686526 2009-04-25 07:56 PM

dimreassociate尺寸关联问题
 
dimreassociate尺寸关联问题
www.dimcax.com
dimreassociate尺寸关联问题
dimreassociate的使用方法.
依次亮显每个选定的标注,并显示适于选定标注的关联点的提示。每个关联点提示旁边都显示一个标记。如果当前标注的定义点与几何对象没有关联,标记将显示为 x,但是如果定义点与其相关联,标记将显示为包含在框内的 x。
用lsp模仿操作时 (command "_dimreassociate" (handent "a2") "")程序通过.
但用lisp模块以下操作时,直径选择圆弧或圆 <下一个>: 选择圆弧或圆,或按 enter 键跳到下一个标注对象
(command "_dimreassociate" (handent "a2") "" (handent "109")) 程序不通过.
说明
(handent "a2") 为直径尺寸线的handle
(handent "109")为圆的handle
问: 选择圆弧或圆如何理解,是图元还是点??
d
直径选择圆弧或圆 <下一个>: 选择圆弧或圆,
这是选择圆上一点,
(command "_dimreassociate" (handent "a2") "" (handent "109"))
将(handent "109")改为(list x y z)试一下。
d


所有的时间均为北京时间。 现在的时间是 03:39 AM.