Remove old suffix when cloning an assembly
Remove old suffix when cloning an assembly
(OP)
When cloning an assembly, how could I get rid of the old suffix in the file name?
i.e.: abcd_rev01 -> abcd
i.e.: abcd_rev01 -> abcd
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V8.5 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks





RE: Remove old suffix when cloning an assembly
But don't forget to specify what version of NX you are on.
RE: Remove old suffix when cloning an assembly
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: Remove old suffix when cloning an assembly
Under naming tab
set your default output directory
hit Define naming rule button
check Replace
base string abcd_rev01
with
add/replace/rename string abcd
Brian Marchand-Die Designer
http://www.armotool.com/
NX 9.0.2.5 / PDW
Dell Precision T7610 w/Xeon ES-2609
16G Ram - Nvidia Quadro K5000
Win 7 Pro x64
RE: Remove old suffix when cloning an assembly
In the example “abcd” contains letters and numbers and I don’t want “ _rev01” at all in the new project.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: Remove old suffix when cloning an assembly
www.nxjournaling.com
RE: Remove old suffix when cloning an assembly
Brian Marchand-Die Designer
http://www.armotool.com/
NX 9.0.2.5 / PDW
Dell Precision T7610 w/Xeon ES-2609
16G Ram - Nvidia Quadro K5000
Win 7 Pro x64
RE: Remove old suffix when cloning an assembly
Most of yesterday I wasted by manually changing the files with "save as" and now have other work to catch-up with. Next time I will try it.
I feel that the NX developers have not thought of this situation. They have allowed to add/modify suffixes but not the delete.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: Remove old suffix when cloning an assembly
The "\d" is regular expression shorthand for "any digit [0-9]". The {1,2} specifies the quantity of the previous search item; in this case it will look for at least 1 digit and at most 2 digits. There are other ways we could have used to get the same result; the more you know about your data, the better you will be able to craft an expression to find exactly what you want.
A good reference site for regular expressions is:
http://www.regular-expressions.info/
www.nxjournaling.com
RE: Remove old suffix when cloning an assembly
Brian Marchand-Die Designer
http://www.armotool.com/
NX 9.0.2.5 / PDW
Dell Precision T7610 w/Xeon ES-2609
16G Ram - Nvidia Quadro K5000
Win 7 Pro x64