几何尺寸与公差论坛------致力于产品几何量公差标准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 characteristic information of Imported feature (swTnImported type) ? (http://www.dimcax.com/hust/showthread.php?t=1399)

huangyhg 2007-09-03 11:56 PM

How to get characteristic information of Imported feature (swTnImported type) ?
 
How to get characteristic information of Imported feature (swTnImported type) ? Such as color, ID, layer.

> My code as follows:

> // get the imported feature dispatch

> LPDISPATCH dImportedFeature = swFeature.GetDefinition();

> yanhua

huangyhg 2007-09-03 11:58 PM

回复: How to get characteristic information of Imported feature (swTnImported type) ?
 
> Hello Yanhua,

> The imported feature type does not have a corresponding FeatureData object. However, the information that you are looking for should be available on the Feature object itself rather than any FeatureData object. Give those properties a try.

> Regards,

> Earl Hasz


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