hi,
I want the description of a part to reference a parameter value.
but I can't just write the parameter name cause then it wil show only the name.
considering that the value can change, I also can't write the value itself.
how can I get it to write the number instead of the name.
the name is D2 but I want it to say L200 for example.
iProperties.Value("Project", "Description") = "leiding d63 Ld2"
Solved! Go to Solution.
Solved by vpeuvion. Go to Solution.
The parameter name cannot be "leiding d63 Ld2" with spaces?
Or do you mean the description must be like "Leiding" then <Parameter.value> d63 then <parameter.value> Ld2
Regards,
Arthur Knoors
Autodesk Affiliations:
Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
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: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 !
the description needs to be leiding (pipe) d63 (pipe diameter) L"pipe length"
the pipe length is a changing value. so I want the description to match the actual length.
the parameter that is responsible for the length is called d2
now it just shows the text I entert plus the parameter name (d2)
third one from the bottum
Hi, you can try this :
iProperties.Value("Project", "Description") = "leiding d63 L" & d2
Vincent.
Can't find what you're looking for? Ask the community or share your knowledge.