Custom properties to description

Custom properties to description

kresh.bell
Collaborator Collaborator
324 Views
4 Replies
Message 1 of 5

Custom properties to description

kresh.bell
Collaborator
Collaborator

Hi,

is it possible to create an iLogic that will assign a combination of custom properties to each part in the assembly?
For example, a part in an assembly has these custom properties
Name: Item.FillWorkpiece.Width
Value: 82
Name: Item.FillWorkpiece.Length
Value: 100
Item.FillWorkpiece.Material.Thickness
Value: 18
I would like to start iLogic in the assembly environment and for the description of the part to be:
100 x 82 x 18

0 Likes
325 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

<span;>Description
<span;>Value is <<span;>Item.FillWorkpiece.Width> x < Item.FillWorkpiece.Length>×
<span;><Item.FillWorkpiece.Material.Thickness>

<span;>No code needed</span;></span;></span;></span;></span;>

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 5

Curtis_Waguespack
Consultant
Consultant

@kresh.bell, This will add the formula to the Description iproperty 

 

iProperties.Value("Project", "Description") = "= <Width> x <Length> x <Thickness>"

 

Curtis_Waguespack_0-1733674181330.png

 

Curtis_Waguespack_1-1733674193908.png

 

Curtis_Waguespack_2-1733674297039.png

 

EESignature

Message 4 of 5

bradeneuropeArthur
Mentor
Mentor

And no coding needed at all!

@Curtis_Waguespack 

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 5 of 5

Curtis_Waguespack
Consultant
Consultant

 


@bradeneuropeArthur wrote:

And no coding needed at all!


I think that depends on the situation. If we are working with a template, then adding the formula to the description iProperty in the template provides a no-code solution.

 

If we're wanting to work with many existing files, then adding the formula to the description iProperty with a line code like this would be more efficient. 

iProperties.Value("Project", "Description") = "= <Width> x <Length> x <Thickness>"

 

EESignature

0 Likes