Split part name as automated text on a drawing

posted by Jun 24, 2013 in General Forum by MHermans (130 points)

I'm working on a drafting template. In my company all drawings have part names in the following format:

xxx.xxxxx.xx - description.prt

In the title block I want two different fieds one for the xxx.xxxxx.xx (part number) and one for the description.

I can add the whole to one cel of the title block with the automated text <W@$SH_PART_NAME> but I cannot figure out how to split it.

In expressions you can use the function subString ( input tekst, begin char, end char ), but the expression editor is only available in modeling and the $SH_PART_NAME variable is not available in modeling.

I also tried setting to the cel to "evaluating cel as formula" in the style dialog. This works for a string that is entered, but not for the variable. (it places a - in my cell).

 

Anybody have an idea how to do this?

Thanks in advance!

Maurits

Please log in or register to answer this question.

Related topics

1 answer 1,484 views
1 answer 803 views
posted by Mar 25, 2012 in General Forum by Daljeet Singh (2,310 points)
1 answer 575 views
posted by Jul 14, 2015 in NX Design Forum by Shaik (140 points)
2 answers 1,170 views
1 answer 8,252 views
0 answers 109 views
posted by Nov 20, 2012 in General Forum by jbbrady63 (120 points)

510 topics

378 answers

133 comments

10,468 users

...