Get Part Number And add it to a path

Get Part Number And add it to a path

isocam
Collaborator Collaborator
325 Views
0 Replies
Message 1 of 1

Get Part Number And add it to a path

isocam
Collaborator
Collaborator

Can anybody help?

 

I need to be able to get the current part number, using Python script, and add a path and extension thus....

 

Say the part number is "12345" 

 

I want to add the path and filename extension thus

 

"C:\Windows\Temp" + PartNumber + ".Txt"

 

Giving...

 

C:\Windows\Temp\12345.txt"

 

Then I need to display the filename in a msgbox.

 

Can anybody create the script and add it to this post????

 

Many thanks in advance!!

 

Darren

0 Likes
326 Views
0 Replies
Replies (0)