几何尺寸与公差论坛

 找回密码
 注册
查看: 907|回复: 0

【转帖】bom table option

[复制链接]
发表于 2009-4-13 09:20:40 | 显示全部楼层 |阅读模式
bom table option
i have a few questions
does anyone know how to set the part configuration grouping options of the bom through the api?
also, if i have general table that should go under the bom how can i change the anchor point so that the tables align?
thanks very much
edited: 10/15/2008 at 06:40 pm by vincent nesbitt
without testing anything i would presume the following:
to set the display as one item check box use bomfeature:isplayasoneitem
to set the position of the general table use generaltablefeature::gettableannotations then from the table annotation use tableannotation::getannotation to get an annotation object, then from that object use annotation::setposition.
to get the position of the bom you will have to play around with getting the number of rows, the row heights and the position of the table to work out the bounds.
thanks luke,
i was able to get the positioning working.
i should have been more specific in regards to configuration grouping options. the option im looking to set is the "display configurations with the same name as one item". this is one of the radio button options under the "display as one item number" checkbox. i dont see an option like this under the bomfeature object unless im missing something..
thanks again
i dont believe there is an option i think you need to loop all components and set the components to the bom, bit tricky
i think this is what i have to do. how can i set the components to the bom so that different components will all point to the same item on the bom - i need this for autobalooning? i know how to loop through the bom but is there a command to set the component to an item on the bom ?
thank for the help
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 09:30 , Processed in 0.035665 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表