Hi All,
Is there a way through API to set the indented part numbering toDetailed Numbering? When I run the BOM command I get the followingas 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 withdetailed 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 thisin API.
Is this possible or is this something that is in the UI only and nocommand is available?
My version of SolidWorks is 2009 SP2.1, running on Windows XP 32.
Many Thanks in advance for all replies.
Cheers,
Eric
SolidworksApi macros
Is there a way through API to set the indented part numbering toDetailed Numbering? When I run the BOM command I get the followingas 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 withdetailed 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 thisin API.
Is this possible or is this something that is in the UI only and nocommand is available?
My version of SolidWorks is 2009 SP2.1, running on Windows XP 32.
Many Thanks in advance for all replies.
Cheers,
Eric
SolidworksApi macros