Create BOM
Drawing Properties:
- ppBOM Info
- Value: Table Name, Table Header Text, Table Header Visible?,Anchor Corner,X Position(inch),Y Position(inch),Grid LineWeight,Border LineWeight,Table H Justification,Table V Justification,# of Data Columns,# of Data Rows,Cell Text(Justification Parameters), Next Cell Text(Justification Parameters)... (etc)
- Example: RS_BOM_Table,Bill of Materials,True,3,0.25,0.25,1,2,2,1,3,2,QTY|2|1|0.025,PART NO|2|1|0.03,DESCRIPTION|1|1|0.05,15,S201,The First Part,12,S202,The Second Part
Description:
This property configures a SolidWorks Generic Table Object through one long property value.
It is limited through a couple of different conditions, so all NEW tables should be created using the “ppTableInfo” property instead.
The primary limitation is the use of a hard-coded comma-delimiter.
This property has been left in place ONLY for backward-compatibility.
For Anchor Corners, Top Left=1, Top Right=2, Bottom Left=3, Bottom Right=4.
For X & Y Positions, values are inches from the lower left corner of the sheet.
For Horizontal Justifications, None=0, Left=1, Center=2, Right=3.
For Vertical Justifications, Top=0, Middle=1, Bottom=2.
For # of Data Rows, do not include the Table Header, but do include the Column Headers.
The Cell Text Justification Parameters are optional (but must include the whole set if they exist) and are delimited by a bar (|) symbol [The Cell Text|Horizontal Justification|Vertical Justification|Column Width].
Typical Use:
This property exists for backward compatibility only.
All new implementations should use the ppTableInfo property.