Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String operations on parameters in notes

Status
Not open for further replies.

aafuni

Mechanical
Dec 29, 2009
188
0
0
US
Is there any way to pull off the last few characters out of a parameter name for a note?

I name my solid models my part number. On the drawing the drawing number then becomes &MDL.GENERIC.NAME. I have a reference to the inspection drawing which is numbered IRXXXXX, where XXXXX are the last 5 digits in the drawing number.

Is there away that I can take just the last 5 characters out of my &MDL.GENERIC.NAME parameter and place them in a note?

Thanks
 
Replies continue below

Recommended for you

Never mind guys, I figured out my own problem using the relations method.

If anyone stumbles on this later here is what I did:
count=string_length(DRWNUM)
last=extract(DRWNUM,count-4,5)
IR="IR"+last
 
Status
Not open for further replies.
Back
Top