几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】projected area (http://www.dimcax.com/hust/showthread.php?t=4873)

yang686526 2009-04-12 10:08 PM

【转帖】projected area
 
projected area?
is there a way within the api to obtain the overall projected area of a part in the three basic xyz directions? i tried running through all the faces and calling convertentities on each one to project them onto a sketch plane but that doesn't seem to work.
wayne tiffanny made a boundingbox macro that does what i think you are after.
google "wayne tiffany boundingbox" and you should find it.
solidworks 2006,2007,2008,2009 (office premium.)
core 2 duo e6850 @ 3.00 mhz
window xp pro sp3 32 bit
ati firegl v7350
quick


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