generate stock number from parameter values

generate stock number from parameter values

Keith.Challinor3761
Contributor Contributor
581 Views
3 Replies
Message 1 of 4

generate stock number from parameter values

Keith.Challinor3761
Contributor
Contributor

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 

0 Likes
Accepted solutions (1)
582 Views
3 Replies
Replies (3)
Message 2 of 4

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

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

Message 3 of 4

Keith.Challinor3761
Contributor
Contributor

Thanks Arthur

 

let me test and get back to you 

appreciate the quick response

 

Keith 

0 Likes
Message 4 of 4

Keith.Challinor3761
Contributor
Contributor

EXCELLENT THANK YOU