几何尺寸与公差论坛

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

【转帖】bom indented type

[复制链接]
发表于 2009-4-12 20:20:13 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 00:52 , Processed in 0.034096 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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