Skip to main content
Jun 15, 2022 3:53 PM UTC
Acknowledged

Config option to ONLY save imported images in drawings to the drawing. AKA embed

Related products:Creo Parametric

1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
Auto
Design Engineer
Auto manufacturers 


2. What version of Creo Parametric are you currently running?
7.0.3.0

3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.

https://www.ptc.com/en/blogs/cad/adding-images-to-engineering-drawings-made-easy
The function of placing images in drawing with the built is image tool does not work out of the box as intended and the fix is a workaround with undesirable effects.

I'll define work.
Import image to DRW, save. The image should always stay visible in the DRW but it is not. File is only linked so the separate image file has to be in same dir(maybe, did not test) or in texture folder(texture_search_path). Image is not a texture though. Send DRW to someone They open it and see a black box instead of an image,

 

Import image to DRW, check in to Windchill. again the image is lost because its a separate file.   

 

The workaround for this is to set "SAVE_TEXTURE_WITH_MODEL YES" but, having that saves all textures to model as well saving the pictures to the DRW. PTC needs to decouple these. Usually you do not want to save all textures to models and bloat up model files. I tried toggling on SAVE_TEXTURE_WITH_MODEL saving pictures to DRW, works, check in ok, and prints well. I then toggled off the setting and checked out the drw again, moved the image , resized it. Then tested its printing/windchill PDF. Poof all gone. SAVE_TEXTURE_WITH_MODEL would have to be set to YES all the time to work. Not sure that is good with all the ramifications that could cause other issues. Which means back to OLE Object import/create new with Paintbrush(aka MSpaint) in session. OLE option offers no aspect ratio lock and not much for features in general. 

 

Note default setting is "SAVE_TEXTURE_WITH_MODEL NO"

 

A new config option specific to the drawing image tool could make the image tool PTC is showing off in the linked video usable without side effects that are undesirable.

 

Suggestion:

DRAWING_IMAGE_IMPORT_EMBED YES*
YES* - Saves/Embeds images imported to the drawing into the drawing file
NO - Does not save/embed images in drawings to the drawing file


4. What is the use case for your organization?
Proper function of the tool in CREO as shown in the promo video.

Used for images as shown in promo and for putting a supplier drawing picture/PDF inside a title block.


The new image tool has desirable functions, namely aspect ratio lock. However, can not use the tool because "SAVE_TEXTURE_WITH_MODEL YES" is not something wanted for all models. Use of the older OLE to embed images is still the go to option but, that tool lacks aspect ratio lock, transparency, and more.

5. What business value would your suggestion represent for your organization?
Productivity increase - easy use of the image tool that has been pushed to the front by default
Training decrease - Do not have to explain to new and old users why the new image tool can not be used
Problem/Error decrease - Do no have to spend time fixing DRWs saved to Windchill over years that are missing images. 

Make the "MADE EASY" part of the promo video true.

22 replies

Jun 16, 2022 3:07 PM UTC

Thanks @TomU this is clear, however this is not what @BG_9869104  suggested with his suggestion and I would like to understand the reason behind having the ability to place an image in a drawing (which have model views) and in that case have the ability to save it with the model instead of the drawing only 

 

 

 

Jun 16, 2022 4:37 PM UTC

Reverse workflow is present for other features like gtols with 
default_gtol_owned_by_model

Having a setting to decide the owner of the image could maintain legacy functionality workflow and give option for the new function.

If workflow is to have MBD ready models and a 2D drawing(transitional period years in the making) then only one image should be saved and that should be in the model. The image should be accessible for composite state and to be shown in the 2d drawing.

If the setup only has ability to shows images in drawing that are placed in the drawing then saved to the drawing the model has no access to the image to display in a composite state. So, to have the model complete MBD the image would have to also be saved to the model separately leading to double dimensioning. where you have to update the same thing in two places which is bad. Years later how is Joe Smith to know they have to separately update the same image in two locations. That is bad. There a lot of it depends cases.

 

These type of options allow the function to be the same as today or be the new function I am asking or function the way TomU said. Can be set to many different user workflows.

DRAWING_IMAGE_OWNED_BY_MODEL
NO* - Default destination is the drawing.
YES - Default destination is the top model.

DRAWING_IMAGE_IMPORT_EMBED
YES* - Saves/Embeds images imported to the drawing to location set by DRAWING_IMAGE_OWNED_BY_MODEL
NO - Does not save/embed images

Jun 16, 2022 4:56 PM UTC

@Mfridman,

When SAVE_TEXTURE_WITH_MODEL = YES, the texture image files are embedded into, and saved with the model.  What about images added to drawings?  With this same config option set to yes, are images added to a drawing actually saved with the drawing, or are they pushed into the parent model?  I was under the impression that they were actually being saved inside the drawing, but that it took an unrelated, model-specific config option to get them to do so.

 

I'll probably disagree with @BG_9869104 on this, but I don't think something manually added to a drawing should be saved to the model (ever! - including GTOLs.)   This can lead to all kinds of unintended consequences when someone is intentionally creating multiple (different) drawings of the same model.  Tables, symbols, images, etc. should all be stored in the CAD object they were added to.  I would fully expect to need to re-add them to the model if we ever decide to get rid of drawings and wanted to recreate the same information in the model.

Jun 16, 2022 5:20 PM UTC

@TomU I do not disagree with you. I do not want to save back to the model but I formed the idea so that the current functionality is still present if  wanted.

I would set the save destination of drawing images to the drawing and set them to be embed by default.

I would have to test save location of image embed when a model is present. The tests I did before this idea post were with drawing file only, no model associated with the drawing. In that test the images were embedding into the DRW file.

Jun 16, 2022 5:48 PM UTC

SAVE_TEXTURE_WITH_MODEL is saving the images added in drawing environment to the drawing in the case with a PRT model associated with the DRW 

Jun 16, 2022 6:03 PM UTC

A checkbox to embed the image in the drawing (or part/assembly) when placing the image would also be helpful to override the default setting when needed.

Jun 16, 2022 6:07 PM UTC

I just did a quick test, and the behavior is what I would expect.  Images added to the model are saved inside the model and images added to the drawing are saved inside the drawing.  Images added to a drawing are not being stored inside the parent model.

 

In my opinion, where the images are currently saved is fine, it's just that turning it on requires enabling an unrelated, model-specific config option.  'save_texture_with_model' should really only control model textures and 'embed_imported_images' should be added to control where images imported with the Images command are stored (and it should default to 'yes'.)

Jun 17, 2022 4:42 PM UTC

There are images and textures in models. In model environment can apply an image as a texture to a part or can use the image tool to place an image in the model.

If there is one across the board 'embed_imported_images' that would imply models images would save to model and drawing images would save to drawing. 

That would not decouple the saving. Back to the key point
The key part of this idea is to decouple the saving of images used in the modeling environment from the saving of images used in the drawing environment.

Jun 17, 2022 4:45 PM UTC

@kdirth an override would be nice. Designate check box per image to embed in the file. That would be a welcome GUI addition for the ribbon. 

Jun 17, 2022 4:47 PM UTC

@BG_9869104,

Is there any need/desire to decouple model textures from model images?  I thought it would be clearer if imported images using the image tool were treated separately from textures in both the drawing and the model.  Would it be better if it was called 'embed_image_tool_images'?