Replacing parts list column by the name of its corresponding property

Replacing parts list column by the name of its corresponding property

Anonymous
Not applicable
379 Views
3 Replies
Message 1 of 4

Replacing parts list column by the name of its corresponding property

Anonymous
Not applicable

Hi

 

I'm trying to convert an existing parts list to use a new column.

 

Knowing just the name of the iProperty whose the corresponds to the column (not the title that's displayed in the table), how can I identify and remove this column, and put another in its place?

 

Thanks

0 Likes
380 Views
3 Replies
Replies (3)
Message 2 of 4

bradeneuropeArthur
Mentor
Mentor

Do you have an example template and what column do you like to remove and add and whit which iproperty?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 4

Anonymous
Not applicable
Sorry for the slow response.

It's a custom iProperty. I'm just looking to remove a column and insert another in its place, that's all.
0 Likes
Message 4 of 4

A.Acheson
Mentor
Mentor

Here is the API sample to work with the Partslist written in vba launguage. Hopefully that gets you moving in the right direction. If you need to use ilogic then do the conversion of the code. Main changes for that are to remove the sub routine header and footer and remove the word Set.

 

Remove a column

Syntax

PartsListColumn.Remove()

 

Add a column

Syntax

PartsListColumns.AddPropertyType As PropertyTypeEnum, [PropertySetId] As String, [PropertyIdentifier] As Variant, [TargetIndex] As Long, [InsertBefore] As Boolean ) As PartsListColumn

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan