Inventor Customization

Inventor Customization

Reply
Active Contributor
mikazakov
Posts: 42
Registered: ‎10-18-2004
Message 1 of 9 (334 Views)

Move OLE-object from drawing.

334 Views, 8 Replies
01-08-2013 10:19 AM

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

 

 

OLE.png

ADN Support Specialist
xiaodong.liang
Posts: 1,271
Registered: ‎06-12-2011
Message 2 of 9 (307 Views)

Re: Move OLE-object from drawing.

01-13-2013 06:55 PM 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..

 

 

 

 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Contributor
mikazakov
Posts: 13
Registered: ‎07-17-2008
Message 3 of 9 (301 Views)

Re: Move OLE-object from drawing.

01-14-2013 01:04 AM in reply to: xiaodong.liang

No, I dont' want delete OLE.

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

ADN Support Specialist
Vladimir.Ananyev
Posts: 475
Registered: ‎08-14-2012
Message 4 of 9 (280 Views)

Re: Move OLE-object from drawing.

01-15-2013 12:29 AM in reply to: mikazakov

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

Contributor
mikazakov
Posts: 13
Registered: ‎07-17-2008
Message 5 of 9 (274 Views)

Re: Move OLE-object from drawing.

01-15-2013 02:33 AM in reply to: Vladimir.Ananyev

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

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

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

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

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

ADN Support Specialist
Vladimir.Ananyev
Posts: 475
Registered: ‎08-14-2012
Message 6 of 9 (266 Views)

Re: Move OLE-object from drawing.

01-15-2013 03:15 AM in reply to: mikazakov

Михаил,

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

Cheers,


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

ADN Support Specialist
Vladimir.Ananyev
Posts: 475
Registered: ‎08-14-2012
Message 7 of 9 (253 Views)

Re: Move OLE-object from drawing.

01-19-2013 02:36 AM in reply to: Vladimir.Ananyev

Михаил,

I logged Inventor API wishlist for this.

Many thanks!


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Valued Contributor
mario.lung
Posts: 56
Registered: ‎07-31-2007
Message 8 of 9 (89 Views)

Re: Move OLE-object from drawing.

03-17-2014 03:40 AM in reply to: Vladimir.Ananyev

Hey,

 

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

with inventor 2014?

 

thx

 

Mario

ADN Support Specialist
Vladimir.Ananyev
Posts: 475
Registered: ‎08-14-2012
Message 9 of 9 (85 Views)

Re: Move OLE-object from drawing.

03-17-2014 04:05 AM in reply to: mario.lung

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

Sorry. :smileysad:


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.