Part Number driven by parameters

Part Number driven by parameters

CCarreiras
Mentor Mentor
1,590 Views
2 Replies
Message 1 of 3

Part Number driven by parameters

CCarreiras
Mentor
Mentor

Hi!

 

I have 2 parameters in a part (a spring), "diameter" and "Length".

I change these parameters with iLogic to build several springs.

Is it possible to update the "Part Number" Each time I change the parameters "diameter" and "length"?

I want to get the following:

Mola_Ø-65_L-140

Where 65 is the parameter value and 140 is the length value.

I tried with the code below,

iProperties.Value ("Project", "Part Number") = "Spring_Ø-"   Diameter    "_L-"    Length

but that returns: End of statement expected.


Any idea?
thank you

CCarreiras

EESignature

0 Likes
Accepted solutions (1)
1,591 Views
2 Replies
Replies (2)
Message 2 of 3

Curtis_Waguespack
Consultant
Consultant
Accepted solution

Hi carloscarreiras8703,


Try this:

iProperties.Value ("Project", "Part Number") = "Spring_Ø-"   &  Diameter   &  "_L-"   &  Length

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

Message 3 of 3

CCarreiras
Mentor
Mentor

That´s it!! So easy Smiley Happy

 

Thank you Curtis.

CCarreiras

EESignature

0 Likes