Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

shopdoc mom_part_name, problem

Status
Not open for further replies.

berri2

Mechanical
Joined
Apr 6, 2010
Messages
139
Location
ES
Hi all,

How can I take only the name of my .PRT part, on my shop doc?

I mean, the mom_part_name variable takes the whole part directory,

For example:

C:program files/.../NX7.5/CAM/workpiece_1.prt

I want only the part (.PRT) name:

workpice_1.prt

Attached this variable photo.

Thanks.
 
Hi Berri,try mom_output_file_basename
 
Thanks Josemi,

Voy a necesitar ayuda con los tiempos...

me esta cascando...

Urte berri on!!!

Happy 2012!!!
 
Eso es Josemi,

Variable mom clavada.

Graciaaaaaaaassssssss

 
MOM_output_literal "<td colspan=5 align=left bordercolor=black><B><font size=2 face=verdana>NOMBRE DE LA PIEZA: <b>$mom_output_file_basename.prt</b></FONT></td>"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top