caddanimal
Mechanical
- Jan 15, 2016
- 1
I am using NX 9.0.3.4 .......
i want to use functions in the EXPRESSIONS page to take the value from ug_askCurrentWorkPart()and add a " " at the Nth character.....
ex: 1234567 becomes 12345 67
However, first I need to be able to determine if the part name is to be split as shown above.... back-tracking here... there are two kinds of part numbers....
A12345.prt (most structural and assembly models)
1234567.prt (hardware part files)
if I can use IF THEN ELSE logic to determine what kind of part number it is, first, then I can somehow process the 1234567.prt file name so that I can store "12345 67" into a new parameter DB_PARTNO
Thanks in advance!
i want to use functions in the EXPRESSIONS page to take the value from ug_askCurrentWorkPart()and add a " " at the Nth character.....
ex: 1234567 becomes 12345 67
However, first I need to be able to determine if the part name is to be split as shown above.... back-tracking here... there are two kinds of part numbers....
A12345.prt (most structural and assembly models)
1234567.prt (hardware part files)
if I can use IF THEN ELSE logic to determine what kind of part number it is, first, then I can somehow process the 1234567.prt file name so that I can store "12345 67" into a new parameter DB_PARTNO
Thanks in advance!