Use a portion of a part name in a drawing note.

Use a portion of a part name in a drawing note.

Anonymous
Not applicable
362 Views
1 Reply
Message 1 of 2

Use a portion of a part name in a drawing note.

Anonymous
Not applicable

I have a part name similar to this......12386-120 Motor Brace.  How do I create a note on the drawing, using the <FILENAME> parameter and only use the "12386-120"?  I only want to use the first 9 characters of a part/assembly name, regardless of the length of the filename.


Thanks,

 

0 Likes
363 Views
1 Reply
Reply (1)
Message 2 of 2

damian.lewczyk
Autodesk Support
Autodesk Support

You can use this iLogic Rule:

oPartNum = iProperties.Value("Project", "Part Number") 
oNewPartNum = Left(oPartNum, 9)
iProperties.Value("Custom", "FileNameFrist9characters") = oNewPartNum
MessageBox.Show(oNewPartNum,"You created new Custom Proerty")




Damian Lewczyk
Technical Support Specialist
Autodesk