几何尺寸与公差论坛------致力于产品几何量公差标准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 can i get the mirror plane of a mirrored par (http://www.dimcax.com/hust/showthread.php?t=4738)

yang686526 2009-04-12 09:08 PM

【转帖】how can i get the mirror plane of a mirrored par
 
how can i get the mirror plane of a mirrored part
hi
i have a part opened in solidworks. this part has an external mirror reference to another part.
my question is: how can i get the plane which was used to mirror the reference part?
i only managed to get the path to the original part using this c# code:
modeldoc2 modeldoc = m_appsolidworks.activedoc as modeldoc2;
partdoc part = modeldoc as partdoc;
string originalpartpath = modeldoc.getexternalreferencename();
any help will be appreciated.
thanks
adar
quick


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