几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】set hole callout depth precision (http://www.dimcax.com/hust/showthread.php?t=4572)

yang686526 2009-04-12 07:35 PM

【转帖】set hole callout depth precision
 
set hole callout depth precision
for holes that are not tapped through and c'bore depths, i need 2-place precision. unfortunately for hole callouts, the precision setting is global and it is very time consuming to set each one via the dim properties dialog.
looking for a way to do this through the api, i find the setprecision2 method, but it affects all parameters in the callout. there seems to be no way to set only one parameter of the callout such as counterbore depth.
anyone know of a way?
quick


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