Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programing with OLE Image

3 REPLIES 3
Reply
Message 1 of 4
HytecoMark
613 Views, 3 Replies

Programing with OLE Image

Hi,

I am trying to automate some drawing (.idw) revision processes.

I am able to delete existing/replace/addnew OLE References.

What I am having troubles with is manipulating the actual OLE Image container.

So if I was to add a new OLE Reference like you would when clicking Manage > Insert Object > Create From File.

 

ReferencedOLEFileDescriptors.Add("Filename",3331)

All this code does is add the new ref to the 3rd Party Folder.

I have no idea how to create/move this new referenced container.

These OLE objects seem to be global. In the sense that each new sheet added to the .idw can have this reference turned visible and moved but its actual handle is unknown to me??

The OLE reference documents used are circuit diagrams made in Visio.

 

Any help would be much appreciated.

 

Mark

3 REPLIES 3
Message 2 of 4

Thank you for this post. Unfortunately there is not API exposed to place and reposition the embedded object in drawing sheet. We logged Inventor API wishlist for this.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 4
Crstiano
in reply to: Vladimir.Ananyev

Hi Vladimir,
Today, you have more information about work with embedded objects ? (in my case for assembly)

Thanks in advance.
Cristiano Oliveira
Developer Addins | Consultant CAD/PLM | CAD Manager
https://www.ConsultCAD.com/


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

Message 4 of 4
Vladimir.Ananyev
in reply to: Crstiano

No news on the API to reposition the embedded object in drawing sheet, it is still in the Inventor API wishlist.

😞


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report