几何尺寸与公差论坛------致力于产品几何量公差标准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=742)

yogy 2007-05-21 08:58 AM

How to get characteristic information of Imported feature (swTnImported type) ?
 
Q:
How to get characteristic information of Imported feature (swTnImported type) ? Such as color, ID, layer
Hi,
> > 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();
Yogy

yogy 2007-05-21 08:59 AM

回复: How to get characteristic information of Imported feature (swTnImported type) ?
 
R:
> Hello,
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


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