Skip to main content
DB@HuscoInt
12-Amethyst
June 7, 2023
Solved

Images imported into drawings using a .drw template are scaled using 1in=1mm instead say 1in=25.4mm

  • June 7, 2023
  • 1 reply
  • 2889 views

Hey Community,

 

I've got this wacky issue effecting imported images using the Image Tab

(Attached is a 6in x 6in image being scaled by 1in=1mm and 1in=25.4mm)

 

I've tested this and have reproduced it in:

Creo 4 M150 (Current Software at my company)

Creo 7.0.8.0 (Customer version)

Creo 8.0.7.0 (Planned update to this version)

 

It seems whenever a .drw is created without a model connected to it the units used for image scaling default to 1in=1mm. (Also effects resolution of the image)

 

If you then create a new drawing of a .prt with "use template" in the new drawing dialogue box it carries this scaling over to the new drawing with no way to change it. Thus any image that comes in so tiny that a DXF has to be used instead of images on any print that was created using this method.

 

If you create a new drawing of a .prt with "empty with format" in the new drawing dialogue box it changes the scale to 1in=25.4mm or Unit Conversion Factor for the unit specified the .DTL. (It also looks like it will repeat the scaling issue if the "default template" checkbox is marked in the naming field dialogue box)

 

I've swapped out start parts, start formats and .DTLs with no luck

 

(This issue has accumulated on so many prints its not practical to redo any of them)

Do you have any ideas of how to fix this issue without deleting the drawing.

 

Any ideas would be much appreciated

Thanks,

-DB

 

 

 

Best answer by kdirth

Objects can be added to drawings and saved in the drawing if you set config save_texture_with_model  yes.

 

This does have some limitations but does work.  It governs the saving of images in all file types.

1 reply

24-Ruby III
June 8, 2023

Hi,

please see uploaded video. It shows that Images function uses size values only. Because of this the size of imported picture is related to drawing_units. If it is suitable for you you can include an Object into your drawing.

 

DB@HuscoInt
12-Amethyst
June 8, 2023

When I insert images on a drawing with a part attached it comes in multiplied by 25.4

(Image in the video is 2in x 2in and should come as 2x2 then with the drw units set in the .DTL)

 

That's why I was thinking the 1=25.4 was a feature but maybe there is something that is messing with my the drawing units and its upscaling the image.

 

I like the idea of objects but I thought they couldn't be moved from a folder location because they are linked even when embedded into a drawing.

kdirth
21-Topaz I
kdirth21-Topaz IAnswer
21-Topaz I
June 8, 2023

Objects can be added to drawings and saved in the drawing if you set config save_texture_with_model  yes.

 

This does have some limitations but does work.  It governs the saving of images in all file types.

There is always more to learn.