- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Embedding/Enumerating image files within a Drawing Sheet
Inventor 2017 using Visual Studio 2019 and C#.
Referring to a .DWG drawing file.
I have an Add-In I created years ago, that I would like to add some functionality to.
I would like to be able to detect whether an image file is embedded within a drawing sheet.
If one already exists I would like to determine the insertion point and scale of said image.
I would also like to be able to replace said image, or insert one if image not present. The image is a bitmap or jpeg.
This image is directly inserted into a drawing sheet, not part of a sketch or part of a titleblock.
Any ideas? Solution does not have to be in C# but preferred if possible.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
You can access the 3rd party files using Document.ReferencedOLEFileDescriptors, but currently you can't use the ReferencedOLEFileDescriptor to change the source, you can log to IdeaStation if you need it via API. Hope this helps.
If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.

Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.