Sorry, I've just seen your question.
To add values they could be either a List item or a table item, in Old Part builder these are added in the configuration section of PB by changing a context to either type.
Table items are hard wired by number, that is you need to specify for all items (part sizes) in the table, so the below is an extract for the ports used by IPE, note I use numerical values here for greater control on port matching.
The list here must contain the same number of items as all other Tabled sections.
<Column desc="Underground Structure Port Width" dataType="float" unit="mm" name="SurfaceStructure_SPWidth" id="C16" visible="0" context="Geometry_ModelDistanceParameter" index="14">
<Row id="r0">10.0000</Row>
<Row id="r1">11.0000</Row>
<Row id="r2">12.0000</Row>
<Row id="r3">13.0000</Row>
<Row id="r4">14.0000</Row>....
The other option is to add List items.
<ColumnConstList desc="No of Brickwork Courses" dataType="float" unit="" name="BrkCor" id="CCL1" visible="1" context="BrickCorse" index="0">
<Item id="i0">2.0000</Item>
<Item id="i1">3.0000</Item>
<Item id="i2">4.0000</Item>
</ColumnConstList>
If using IPT: it does not "natively" use list items, aggravatingly it desires to be hard wired but we can harness them by hacking the Xml file to do what we want.
The table list above gives us a multiplier for use in calculations.
In the UK we have a range of 2-4 bricks included in a manholes Surface structure, I wanted to be able to specify the number of courses and thus control the height of the bricks being shown without having to have multiple parts with each variant of 2-4 brickwork courses!
By adding the statement below and deleting the original table entry for SurfaceStructure Height, I can correctly calculate the Surface Structure height and pass this to the inventor model.
Note: when doing this, check back through the ID's & Index numbers to make sure there are no duplicates otherwise it will fail to expand the table correctly. IPE / c3d is in need of a better Part validation which works on Inventor parts, as it stands its not very helpful and leaves you to undertake trial and error when hacking.
<ColumnCalc desc="Surface Structure Height" dataType="float" unit="mm" name="SurfaceStructure_SSHeight" id="CCA5" visible="0" context="Geometry_ModelDistanceParameter" index="31">$SurfaceStructure_SlabThk + (75 * $BrkCor) + $SFH</ColumnCalc>
Hop ethis helps
Mike
Mike Evans
Civil3D 2022 English
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB