• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

update data field file name xrif

  • Thread starter Thread starter cberto88
  • Start date Start date

cberto88

Guest
Good morning to all,

I have a large amount of drawings that I go to insert from time to time as xrif inside other files.

I had entered into the individual xrifs a data field with the file name, but when I attack the xrif on the target design no longer displays the name of the xrif but shows me the name of the file to which the same is attached.

I wanted to ask you if you knew a way to make the reference file name remain that of the xrif.

example:
xrif "pippo.dwg" - contains a text with data field file name and displays me "pippo.dwg"
when I attack pippo to the pluto design the data field updates me and displays "pluto.dwg".

I would like it to continue to display "pippo.dwg"

thanks in aticipo
 
I think the problem is in object recurring.
the dwgname field works correctly in the external file, but when you insert it as xref, the dwgname field assumes the value of the dwg in which you insert it.
then you could change the field as the object name xref (and it works perfectly) but it does not work in the starting dwg of the xref (it is a dwg to itself).
then perhaps the solution a bit pacchiana and impastricciata (but functional) is to make a block that contains the field data name object xref and the xref itself, so that if you update the xref remains up-to-date, but the name will be unique because contained in the block. I hope I explained.
 
Thank you very much crystal,
I don't care that the name appears in the starting dwg, I just have to see it in the destination. I do not find it among the various possibilities, such as inserting the field "object name xref" mentioned by you. Can you explain how to do this?

thanks in advance
 
I told you.
the xref object name field belongs to the design in which the xref is inserted.
can not be in the design of which you will l'xref (autocad how could it ever solve it? )
so the only one is to create in the drawing where you want to insert the xref a block in which to insert the xref and a text that has as xref data field (of the xref you have just inserted in the block)
therefore the data field will read the name of the xref that is in the block and at the same time changing the entities of the xref the whole will be updated automatically.
 
Good morning to all,

I have a large amount of drawings that I go to insert from time to time as xrif inside other files.

I had entered into the individual xrifs a data field with the file name, but when I attack the xrif on the target design no longer displays the name of the xrif but shows me the name of the file to which the same is attached.

I wanted to ask you if you knew a way to make the reference file name remain that of the xrif.

example:
xrif "pippo.dwg" - contains a text with data field file name and displays me "pippo.dwg"
when I attack pippo to the pluto design the data field updates me and displays "pluto.dwg".

I would like it to continue to display "pippo.dwg"

thanks in aticipo
you may disable the update of the data field in the target drawings.
set the variable fieldeval = a 0
 
you may disable the update of the data field in the target drawings.
set the variable fieldeval = a 0
I did it and it works perfectly! solved. thank you so much dieva and crystal for the help and for your time!
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top