Inventor Customization

Inventor Customization

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

Move OLE-object from drawing.

347 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,335
Registered: ‎06-12-2011
Message 2 of 9 (320 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 (314 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: 531
Registered: ‎08-14-2012
Message 4 of 9 (293 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 (287 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: 531
Registered: ‎08-14-2012
Message 6 of 9 (279 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: 531
Registered: ‎08-14-2012
Message 7 of 9 (266 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: 60
Registered: ‎07-31-2007
Message 8 of 9 (102 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: 531
Registered: ‎08-14-2012
Message 9 of 9 (98 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.