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

bom indented type
hi all,
is there a way through api to set the indented part numbering to detailed numbering? when i run the bom command i get the following as a table.
command
set swbomtableannotation = swmoddocext.insertbomtable(sbomtabletemp, 3, 3, swbomtype_indented, sconfig)
item no.```part number```description```````qty.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
1``````````part`a`````````description a````````1
`````````````part`b```````description`b````````8
```````````````part`c`````description`c````````1
`````````````part`d```````description`d````````8
`````````````part`e```````description`e````````8
2``````````part`f``````````description`f````````2
i would like it to appear with detailed item numbering.
item no.```part number```description```````qty.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
1``````````part`a``````````description a````````1
1.1``````````part`b````````description`b````````8
1.1.1``````````part`c``````description`c````````1
1.2``````````part`d````````description`d````````8
1.3``````````part`e````````description`e````````8
2``````````part`f``````````description`f````````2
there is a command to do this in the ui, however i need to do this in api.
is this possible or is this something that is in the ui only and no command is available?
my version of solidworks is 2009 sp2.1, running on windows xp 32.
many thanks in advance for all replies.
cheers,
eric
sw 2009 sp2.1
pdmw workgroup 2009
ms visual studio 2005 (vb.net)
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)