几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   How to get unique ID of any feature object? (http://www.dimcax.com/hust/showthread.php?t=298)

huangyhg 2006-12-04 09:24 AM

How to get unique ID of any feature object?
 
You should be able to use ModelDocExtension.GetPersistReference to get a unique ID for a given Feature. Equally, you will know that in a given document the feature names will be unique.





Regards,

-Earl


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