Showing annotative texts from an Xref file with a different unit

Showing annotative texts from an Xref file with a different unit

sepideh.m
Enthusiast Enthusiast
633 Views
12 Replies
Message 1 of 13

Showing annotative texts from an Xref file with a different unit

sepideh.m
Enthusiast
Enthusiast

Hi everyone, I have a file in which the unit is in millimetres and has been drawn in millimetres. I have set the scale of annotative texts (eg: 1:20_mm (1 paper unit=20 drawing unit)). (let's call it Xref file)

I want to attach this file to another file in which the unit is in meter, and then create viewports in layouts. (let's call it sheet file)

But, the xref file's texts don't appear in the sheet file. I have tried setting the exact same name (1:20_mm), albeit with a different setting (1 paper unit= 0.02 drawing unit) to suit the unit of the file.

 

I would appreciate your help on how I can fix it. 

 

I do not want to change the ANNOALLVISIBLE variable to 1.

 

Thanks in advance.

 

0 Likes
634 Views
12 Replies
Replies (12)
Message 2 of 13

paullimapa
Mentor
Mentor

According to this thread the annotative scale name needs to be exactly the same in the sheet dwg as it’s set in the xref inorder for them to display. Since there’s a change in units from mm to M then you’ll end up with a different annotative scale name:

https://forums.autodesk.com/t5/autocad-forum/annotative-text-in-xref-file-won-t-appear/td-p/7191743


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 13

sepideh.m
Enthusiast
Enthusiast

Thanks for the reply.


The names are exactly the same in both drawings. As I mentioned, I have only changed the settings of the units. As far as I know, AutoCAD just checks the name and shows the objects with scales of the same name, regardless of what the unit settings are. But in my case, it doesn't work. I have set the name to TEST in both drawings, and it doesn't appear in the sheet file...

0 Likes
Message 4 of 13

paullimapa
Mentor
Mentor

Do you encounter this problem only when xreferencing the mm unit drawing into an M unit drawing?

Have you tried xreferencing the mm unit drawing into another mm unit drawing as a test to see if that works?

Perhaps share your dwgs (xref + sheet) for others here to try?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 5 of 13

sepideh.m
Enthusiast
Enthusiast

Thanks for the idea. I tried as you said and it worked well.

 

Then I tried some basic files and it turns out that it's not just the name that matters, but the setting is also important to be the same. This might be different in the full version. I am new to the LT version. I used to work in the full version where only the name mattered. It's a shame.

 

Unfortunately due to the policies, I cannot share the files.

 

I hope I am missing something and a solution is somewhere there.

 

 

0 Likes
Message 6 of 13

sepideh.m
Enthusiast
Enthusiast

I should add that this also sometimes doesn't work at all! and sometimes it is required to close and reopen the file to take effect! 

 

something wrong...

0 Likes
Message 7 of 13

paullimapa
Mentor
Mentor

Odd that it would sometimes work and then other times don’t. Perhaps enter About command do a screen shot and share that here so others can confirm if you’ve installed the latest updates


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 8 of 13

pendean
Community Legend
Community Legend

@sepideh.m wrote:

...I do not want to change the ANNOALLVISIBLE variable to 1....


So by chance does that fix the problem then?

Or was that just a random statement you added?

 

What is ANNOAUTOSCALE (System Variable) set to in both files?

What if you set CANNOSCALE to 1:1 then back to 1:20 (or whatever it i you want)?

 

And lastly, using DWGUNITS command in each of your two files, can you confirm they are indeed mm and m for units?

0 Likes
Message 9 of 13

sepideh.m
Enthusiast
Enthusiast

Yes, it's odd.

Here is a screenshot of the About:

 

sepidehm_0-1704753002543.png

 

0 Likes
Message 10 of 13

sepideh.m
Enthusiast
Enthusiast

Thanks for your reply.

 

Yes, setting the ANNOALLVISIBLE to 1, will show all the texts. But then there is no point in having annotative texts, and I need to keep one scale for each object...

 

The ANNOAUTOSCALE is -4 in both.

The CANNOSCALE is 1:1 in both, and I change it to 1:20 and didn't work 😞

 

DWGUNITS! I didn't know about that command at all! Thanks for letting me know.

I always change the unit using UN command (Drawing Units)

Interestingly, the Sheet file which is set to meter, is on (2) (Feet), and the Xref file which is set to mm, is on (6) (meters)!

.

.

.

I changed them both to the correct unit, but it didn't fix the appearance of the annotative objects. I left the other settings as it was, so not sure if they can be a solution??

 

0 Likes
Message 11 of 13

cadffm
Consultant
Consultant

Hi,


@sepideh.m  schrieb:

 I have tried setting the exact same name (1:20_mm), albeit with a different setting (1 paper unit= 0.02 drawing unit) to suit the unit of the file.

 

I would appreciate your help on how I can fix it. 


You need the same Name AND the same definition, otherwise it doesn't work.

Sebastian

Message 12 of 13

paullimapa
Mentor
Mentor

So you do have the latest 2024 LT updates

There should not be a reason why sometimes it works and sometimes it doesn't when the drawing unit is the same and not different in the xref vs the sheet.

Well as a test for this go around what if you scaled down your xref mm unit drawing by 1000 so that it becomes a M unit drawing, setup the proper matching named annotative text, save it with a new dwg name and then xref this new test drawing into the M unit drawing sheet?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 13 of 13

pendean
Community Legend
Community Legend

@sepideh.m wrote:

...I always change the unit using UN command (Drawing Units)...

 


That does nothing but mask you actual units set by DWGUNITS command to something else. Sorry, it's always been like that, you've always used the incorrect tool. Hope that does ruin too many of your DWG files.