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: 

Viewing problems with idws!

7 REPLIES 7
Reply
Message 1 of 8
PSpiegel
566 Views, 7 Replies

Viewing problems with idws!

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

 

7 REPLIES 7
Message 2 of 8
YuhanZhang
in reply to: PSpiegel

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



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Message 3 of 8
PSpiegel
in reply to: PSpiegel

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

Message 4 of 8
xiaodong_liang
in reply to: PSpiegel

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

Message 5 of 8
PSpiegel
in reply to: PSpiegel

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

Message 6 of 8
xiaodong_liang
in reply to: PSpiegel

Hi,

 

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

Message 7 of 8
PSpiegel
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

Message 8 of 8
xiaodong_liang
in reply to: PSpiegel

Hi,

 

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

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

Post to forums  

Autodesk Design & Make Report