manu1973
Aerospace
- Sep 28, 2020
- 15
Hello,
I would like to know, if I can associate the value of "distance", of the extrusion tool, to an expression, for when I change the name of the part, change that value of the extrusion.
for example, if my piece is called "rectangulo_20", that "20" is the one that I want to appear in the "distance" value.
I have managed to isolate that number "20", with the expression:
last (splitstring (first (splitstring (ug_askcurrentworkpart (); ".")); "_"))
but I can't, bind the isolated value, to the "distance" value.
Thank you very much
Cheers
Manuel
I would like to know, if I can associate the value of "distance", of the extrusion tool, to an expression, for when I change the name of the part, change that value of the extrusion.
for example, if my piece is called "rectangulo_20", that "20" is the one that I want to appear in the "distance" value.
I have managed to isolate that number "20", with the expression:
last (splitstring (first (splitstring (ug_askcurrentworkpart (); ".")); "_"))
but I can't, bind the isolated value, to the "distance" value.
Thank you very much
Cheers
Manuel