Inventor Customization

Reply
Contributor
--Philipp--
Posts: 13
Registered: ‎06-30-2009
Message 1 of 8 (307 Views)

Viewing problems with idws!

307 Views, 7 Replies
10-09-2012 02:31 AM

Hi folks,

 

did anyone ever experienced the problem shown in the attachment?

When opening an idw through the Documents.open() method, some characters and dimension are shown, some not; also the properties in the title block.

When opening the same drawing normally (File -> open) everything is fine.

 

Any suggetions?

 

Thanks a lot.

Philipp

 

Employee
yuhanzhang
Posts: 411
Registered: ‎01-06-2009
Message 2 of 8 (280 Views)

Re: Viewing problems with idws!

10-11-2012 07:25 PM in reply to: --Philipp--

Can you also attach data so we can look into it? And also let us know which Inventor you are using.



Rocky Zhang
Inventor API
Manufacturing Solutions
Autodesk, Inc.

Contributor
--Philipp--
Posts: 13
Registered: ‎06-30-2009
Message 3 of 8 (271 Views)

Re: Viewing problems with idws!

10-12-2012 12:47 AM in reply to: --Philipp--

Hi Rocky,

 

we're using Inventor 2010 build 284 SP4 on a xp 64bit machine.

Pleased find attached the idw + referenced ipt. It's another drawing than in the pic above, but with the same problem.

 

regards

Philipp

ADN Support Specialist
xiaodong.liang
Posts: 1,233
Registered: ‎06-12-2011
Message 4 of 8 (227 Views)

Re: Viewing problems with idws!

10-24-2012 01:38 AM in reply to: --Philipp--

Hi,

 

I tested with your drawing with a small API code i n Inventor 2012 and 2013. Both work well. I have not Inventor 2010 at this moment. But I doubt if there is any other context which caused the problem at your side. Could you check it?

 

Sub test()

Dim oDoc As Document
Set oDoc = ThisApplication.Documents.Open("C:\temp\1000001296 (1)\1000001296.idw", True)
End Sub



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Contributor
--Philipp--
Posts: 13
Registered: ‎06-30-2009
Message 5 of 8 (224 Views)

Re: Viewing problems with idws!

10-24-2012 02:18 AM in reply to: --Philipp--

Xiaodong,

 

thanks for testing. As soon as opening out of Inventor directly, its working for me as well.

We're using a third party c# software, which connects to a running inventor session, but using the same api-call.

Before opening the file, i download it via internet explorer from our cad-server. Are there any timing issues, perhaps?

 

Thanks,

Philipp

ADN Support Specialist
xiaodong.liang
Posts: 1,233
Registered: ‎06-12-2011
Message 6 of 8 (183 Views)

Re: Viewing problems with idws!

10-29-2012 01:32 AM in reply to: --Philipp--

Hi,

 

If so, is it reproducible if you open URL by UI directly?



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Contributor
--Philipp--
Posts: 13
Registered: ‎06-30-2009
Message 7 of 8 (144 Views)

Re: Viewing problems with idws!

02-28-2013 04:27 AM in reply to: xiaodong.liang

Hi,

 

unfortunately I have no solution until now.

If I open the idw by calling the url it works normal. Any suggestions?

 

Thanks,

Phil

ADN Support Specialist
xiaodong.liang
Posts: 1,233
Registered: ‎06-12-2011
Message 8 of 8 (116 Views)

Re: Viewing problems with idws!

03-06-2013 06:45 PM in reply to: --Philipp--

Hi,

 

could you share a small code to demo how you did? probably it would help to diagnose.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube