Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

generate stock number from parameter values

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Keith.Challinor3761
472 Views, 3 Replies

generate stock number from parameter values

using iLogic I am trying to generate an automatic stock number based on existing parameters in a part 

 

i have parameters of "code" (S) , "dia" (500) and "length" (1000) that change based the apart is used , i require a stock code based on those parameters that will look like S/500/1000

could anyone point me in the right direction please 

 

TIA

 

Keith 

3 REPLIES 3
Message 2 of 4

iProperties.Value("Project", "Stock Number")= Code &"/"& Dia & "/" &Length

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 !

Message 3 of 4

Thanks Arthur

 

let me test and get back to you 

appreciate the quick response

 

Keith 

Message 4 of 4

EXCELLENT THANK YOU 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report