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 15, 2022 4:28 PM UTC
Yes please!!!!
olivierlp
Community Manager
Jun 16, 2022 11:44 AM UTC
Status changed to: Acknowledged

Thank you @BG_9869104 for your very well documented idea. Based on the information you provided, we are acknowledging it as the Community management team. This is not a commitment from the Product team. Other users may comment and vote your idea up.

Olivier
Jun 16, 2022 11:58 AM UTC

Hi @BG_9869104 

If I am getting this correctly, you would always want to have the images that are embedded in the object to be saved ONLY with that object, right?

In other words you want to decouple the drawing from the model and have the following layout:

  •  The current option "SAVE_TEXTURE_WITH_MODEL YES" to be used for the embedding of images in models ONLY
  • A new config option that will be relevant for drawings only and would define whether the image is going to be imbedded with the drawing file or not at all

Can you please elaborate what issues do you currently see with the textures being saved with the model instead of the drawing, after all when loading a drawing the model is anyway required to be loaded.

Is it because this option requires a revision bump for the model when you save the drawing and embed an image? other?

 

Thanks,

Michael Fridman

Creo Product Management 

Jun 16, 2022 12:11 PM UTC

@Mfridman,


...after all when loading a drawing the model is anyway required to be loaded.

That's only true if the model contains a drawing.  What about adding adding images to a drawing template where no model is present?

 

Fundamentally images added to drawings should be stored with (embedded into) the drawing without any additional configuration.  This should be the default behavior out-of-the-box, and other config options related to other things (like textures) should have no impact on it.  People expect to be able to add an image to a drawing and then send that drawing to someone else and still have the image be there.  Can you image creating a Microsoft Word document or Excel file and need to also send along every picture you used in the file separately?  It would be exceedingly frustrating and probably missed by the majority of users.  Creo Parametric should be no different.

 

Jun 16, 2022 12:45 PM UTC

Thank you @TomU 

I completely understand your POV and especially for the template type drawings that have no model involved.

While I was not around when this option was first introduced, I am assuming that some customers did not always wanted to embed the texture with their model/drawing and just wanted to use it from a central location.

I am trying to understand now what those use cases were for the alternative way (by not embedding).

Could it be only from a file size considerations ? other workflows?

While I agree with you that most users might want to always embed the images with the drawing, I want to make sure that we are fully aware of all workflows

 

Jun 16, 2022 1:13 PM UTC

I wonder if the developer went this route for drawing images simply because they already had a method for embedding images used by textures.  I don't think changing the default behavior is a problem, as long as it's clearly documented in the release notes or "what's new".

Jun 16, 2022 1:32 PM UTC

Everything @TomU said. We seem to be on the same page.

Now back to @Mfridman

If I am getting this correctly, you would always want to have the images that are embedded in the DRAWING to be saved ONLY with that DRAWING, right?

In other words you want to decouple the drawing SETTING from the model SETTING and have the following layout:

  •  The current option "SAVE_TEXTURE_WITH_MODEL YES" to be used for the embedding of images(Saves the texture images applied to the model or the walls of the room with the model and the scene.) in models ONLY
  • A new config option that will be relevant for drawings only and would define whether the image is going to be imbedded with the drawing file(optionally model file if present, see below) or not at all

Can you please elaborate what issues do you currently see with the textures being saved with the model instead of the drawing, after all when loading a drawing the model is anyway required to be loaded.
Drawing that has no model(which works with SAVE_TEXTURE_WITH_MODEL YES, so it must embedding the image in the DRW anyway NOT THE MODEL)
SAVE_TEXTURE_WITH_MODEL YES must be set all the time currently for the images to work in drawings. This adds the undesired affect that images used in models files will now be saved into the model and increase the file size. Not great for Windchill. 

Is it because this option requires a revision bump for the model when you save the drawing and embed an image? other?
No. It is because I do not want images and scenes to be saved to the models. Back to the DRW, like TomU said the expected functionality is like a powerpoint slide. If I place an image on the slide and send it to someone it better be there on the slide when they open it without sending external files. The files have to be embed to lock the revision. 

The images used in the DRW could embed in similar fashion as they do now but, I do not think this is the best way. (which I think is due to MBD ideas)
If no model in drawing embed the image to the DRW
If model in drawing embed the image to the model

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.

I think it is best if Drawing images are embedded to the DRW file always.
The counter point here is MBD which by definition wants that image saved to the model. To achieve that another config option would be useful. Package the 2 up and ship it. I marked my opinion of 1 vote for defaults with * below

DRAWING_IMAGE_OWNED_BY_MODEL NO*
Defines whether the default destination of a image placed in the drawing environment is embedded to drawing or top model
NO* - Default destination is the drawing.
YES - Default destination is the top model.

 

DRAWING_IMAGE_IMPORT_EMBED YES*
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 2:01 PM UTC

@Mfridman,

 

From my (and the company) point of view.  we want to control when "textures" are saved in the file. 

 

We sometimes add supplier prints to our drawings as images, considered a texture in Creo, as a way to control purchased parts and give our inspection team easy access to the part requirements.  Saving these images with the drawing file requires setting the config to YES.  

 

We often times get sketches, with outlines and cross sections, from our industrial designer or customers' industrial designer, which we add to the model to model parts and make our sketches from.  These images should not be saved with the model to ensure that proprietary data does not get out with the model.  This requires the config to be set to NO. 

 

Currently, we keep the config set to NO and change it to save a drawing with an image.  I created a mapkey to set the config to YES, save the drawing, then change the config to NO.  A separate config for images in drawings would be appreciated.

Jun 16, 2022 2:43 PM UTC

Thanks @BG_9869104  and @kdirth  for your comments. this is helpful. 

It is clear that no matter where you decide where would save the image, there should still be a setting to allow you also not to save it all and look for the central location. it seems that there are some use cases for this as well

 

@BG_9869104  regarding your comments about the MBD consideration, this point is actually not clear for me and I hope that you can help me understand: 

Typically in a MBD workflow you would want to add all the data artifacts directly the model itself and then if really needed, just show it on the drawing too.

 

I did got in the past the request to be able to manage images with combination states and in this case it might be required to support them also in the show model annotations command, so that they could be shown in the drawing. Achieving this way would go along the lines of what we are doing for annotations. 

 

However with your suggestion for:

DRAWING_IMAGE_OWNED_BY_MODEL NO*
Defines whether the default destination of a image placed in the drawing environment is embedded to drawing or top model
NO* - Default destination is the drawing.
YES - Default destination is the top model.

 

It would be a reverse workflow to what I typically see for MBD, where you add an image in the drawing and then only save it with the model. this would not show the image in MBD, it would only save it with the model file. 

Why would you prefer to save the drawing image with the model in this case?

What is the benefit for MBD for this reverse workflow? 

 

Jun 16, 2022 2:49 PM UTC

If an image is added to a drawing, it should be saved with the drawing.

If an image is added to a model, it should be saved with the model, regardless of whether or not it's visible in the drawing.