Text match file name

Text match file name

Anonymous
Not applicable
4,318 Views
9 Replies
Message 1 of 10

Text match file name

Anonymous
Not applicable

How can I make a text match a file name and not change if the file is Xref?

0 Likes
Accepted solutions (1)
4,319 Views
9 Replies
Replies (9)
Message 2 of 10

leothebuilder
Advisor
Advisor

Use a FIELD

0 Likes
Message 3 of 10

Anonymous
Not applicable

I have. I copy the code that is shown on the field command under filename and everything works. The problem is when I Xref the file everything changes to the Xref file name.

0 Likes
Message 4 of 10

pendean
Community Legend
Community Legend
Which field option did you select and which parameters?
0 Likes
Message 5 of 10

leothebuilder
Advisor
Advisor

In the host drawing, insert a field, select object (select the xref) and select "saved path" from the properties column.

This will insert the xref name and path.

0 Likes
Message 6 of 10

Anonymous
Not applicable

Capture.PNGthat's the code I inserts into the text .

0 Likes
Message 7 of 10

Anonymous
Not applicable

parameters?

0 Likes
Message 8 of 10

leothebuilder
Advisor
Advisor
Accepted solution

Sorry....I can't see the attched jpeg properly to see what you have selected for the Field.

 

here's what I do:

 

Mtext, Insert field.

In the Field dialog, on the left for Category, select Object.

In the middle column click on the Select button for Object Type.

Now select the Xref object in the host file.

In the middle column there are a bunch of options available for Object Type

Select the Saved path option.

 

The drawing name and path will be displayed as a field

Message 9 of 10

Anonymous
Not applicable

Thanks, this works Great.

 

 

One other question?

 

 

How can I get this to work the same way but everything to match the file name?

0 Likes
Message 10 of 10

leothebuilder
Advisor
Advisor

If you want the current file name displayed as a field, select "Document" from the Field Category list.

Then from the Field Names list, select "Filename".

On the right of the dialog you can select fromm the options for Filename Only, Path & Filename or Path Only and

whether to display the file extension or not.