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: 

Move OLE-object from drawing.

8 REPLIES 8
Reply
Message 1 of 9
mikazakov
1098 Views, 8 Replies

Move OLE-object from drawing.

How to move use API the OPE-picture from inventor-dwg?

 

 

OLE.png

8 REPLIES 8
Message 2 of 9
xiaodong_liang
in reply to: mikazakov

Hi,

 

did you mean "remove"?  If yes, you can find the corresponding ReferencedOLEFileDescriptor for the linked file (by iterating over  all of them in Document.ReferencedOLEFileDescriptors and call the Delete method..

 

 

 

 

Message 3 of 9
mikazakov
in reply to: xiaodong_liang

No, I dont' want delete OLE.

I want replace from one point (x1,y1) to other point (x2,y2)

Message 4 of 9

mikazakov,

There is not API exposed for reposition the embedded object in drawing sheet.   Sorry if it is bad news for you.

 

Михаил,

Инженерная команда подтвердила, что для точного позиционирования интересующих вас OLE объектов пока нет API.   Если эта проблема критична, прошу разместить заявку в Inventor wishlist.  Если по этой теме будут какие-либо новости, дам знать.

 

С уважением,

 


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 5 of 9

Здравствуй , Владимир.

на 99,9% я был уверен в таком ответе :), ни свойств ни методов для перемещения у OLE объекта нет.

Хотя как то не логично, вставить на лист можно а запозиционирвоать нельзя.

Виш-лист это на "воде вилами написанное" :), к сожелению.

Жалко конечно, счастье казалось так близко....

Message 6 of 9

Михаил,

Для wishlist играют роль формулировки и обоснования.
Поскольку на этом форуме уместнее английский,  напиши мне про ускользающее счастье (на великом и могучем :)) на адрес vladimir.ananyev@autodesk.com

Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 7 of 9

Михаил,

I logged Inventor API wishlist for this.

Many thanks!


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 8 of 9

Hey,

 

any news how i can reposition a OLE picture on drawing sheet

with inventor 2014?

 

thx

 

Mario

Tags (1)
Message 9 of 9

We still have no API for reposition the embedded object in drawing sheet.   

Sorry. 😞


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