查看单个帖子
旧 2009-04-12, 08:20 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】bounding box each parts

bounding box each parts
hi....
i found great macro that will calculate bounding box size of a part from here :
hey ahmad,
what you can do is iterate through all the components of the assembly, check that they are parts and then get their bounding box and save it to the custom properties.
have a look for previous forum posts if you have issues with custom properties. i am sure you'll find a few.
also have a look in the api examples.
cheers,
--stav.
in this world i am nobody...
and nobody is perfect !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
edited: 11/17/2008 at 04:38 am by stavros antoniou
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)