INV9.How can I format a column's alignment in PartsList

INV9.How can I format a column's alignment in PartsList

Anonymous
Not applicable
263 Views
1 Reply
Message 1 of 2

INV9.How can I format a column's alignment in PartsList

Anonymous
Not applicable
There is a methord for custom tables, as below

oCustomTable.Columns.Item(1).ValueHorizontalJustification = kAlignTextCenter

can format value text.

but for PartsListColumns, there are no such methods

I tried this

Dim oPartsList as PartsList
Set oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)
Dim oCustomTable as CustomTable
Set oCustomTable = oPartsList

but recieve error message

is there a way ,I can set a column's alignment?
0 Likes
264 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
The parts list functionality exposed through the API has continued to grow
each release. I don't remember when this specific functionality was added
but the PartsList.ValueHorizontalJustification property is supported in
Inventor 2008.
--
Brian Ekins
Autodesk Inventor API
0 Likes