Cancel
Showing results for 
Search instead for 
Did you mean: 

File path on drawing

Genius
Genius

Working on a new drafting border.

 

I'm looking to have a cell that populates with the file path.

 

I'm sure there must be a system generated attribute I can just put in the text feild like many of the others that are automatically generated.

 

Would anyone have the attribute name.

 

Thanks in advance, Paul S.

{Paul Schneider}, {CNC Programmer}, {DRT-Rochester}


Production: {NX11.0.2,MP5, NX12.0.1, MP2}

8 REPLIES

Re: File path on drawing

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @psch_wny,

Refer the link, at the end @JohnRBaker had given the GRIP program which add the 'Part_Spec' attribute to the part properties with value as full path of the part file. Use that attribute in the drafting.

 

Re: File path on drawing

Siemens Phenom Siemens Phenom
Siemens Phenom

Re: File path on drawing

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

Hi @psch_wny,

 

1) Create an expression in the part:
           

filepath=first(mqc_askAssemblyStructure())

    It's value will be the path to the current file.

 

2) Either use the expression in the text editor when editing the text in a cell, or create an attribute with a reference to the expression and reference the attribute when editing the text in the cell.

 

Regards, Ben

 

Re: File path on drawing

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor
Existing ER 6525666: get the system attribute for part file path in drawing template

Regards, Ben

Re: File path on drawing

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

In addition to the options already mentioned, note that there are "plot banner options" that will add information to the margin of your drawing when it is plotted (file name, date, user, etc).

Re: File path on drawing

Valued Contributor
Valued Contributor

Adding to Cowski,

Banner has an option for part path that will give full path.

Re: File path on drawing

Genius
Genius

I guess I'm unfamiliar with where those are. Are they specifically for plotting? will it also appear if I'm just printing 11x17's.

 

I figure it must not be that hard. I look at the file properties and the full path is spelled out right there.

Thought I could just get that feild tag and throw it on the drawing template.

 

Paul S.

 

 

{Paul Schneider}, {CNC Programmer}, {DRT-Rochester}


Production: {NX11.0.2,MP5, NX12.0.1, MP2}

Re: File path on drawing

Siemens Honored Contributor Siemens Honored Contributor
Siemens Honored Contributor

 

I guess I'm unfamiliar with where those are. Are they specifically for plotting? will it also appear if I'm just printing 11x17's.

The banner only works with plotting, not printing.

I figure it must not be that hard. I look at the file properties and the full path is spelled out right there.
Thought I could just get that feild tag and throw it on the drawing template.

I believe MoldWizard has the capability, it just hasn't become mainstream yet.  You can use the expression solution to display the path anywhere on the drawing sheet, or use Plot and display the path in the border.

Regards, Ben