Visualizing Asm or part(3d Objects) In Wpf form

Visualizing Asm or part(3d Objects) In Wpf form

Anonymous
Not applicable
868 Views
9 Replies
Message 1 of 10

Visualizing Asm or part(3d Objects) In Wpf form

Anonymous
Not applicable

Hi,


How can I show a Part or an Assembly In WPF Form at 2d or 3d?
Is it possible? If it is. Could someone give me an example?

 

Regards.

0 Likes
Accepted solutions (1)
869 Views
9 Replies
Replies (9)
Message 2 of 10

marcin_otręba
Advisor
Advisor

Hi,

 

1. you can use thumbnail.

2. you can embed for example dwf viewer in your form.

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 3 of 10

Anonymous
Not applicable

Is it possible to use the thumbnail in addin?

0 Likes
Message 4 of 10

marcin_otręba
Advisor
Advisor

Yes. Possible. look on this forum, you will find solution for that.

What is the purpose for that ? what you want to accomplish ?

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 5 of 10

Anonymous
Not applicable

I have already searched. I found Brain Ekins's article about the topic. I try to design UI. I just want to visualize the part or asm information better and print them.

0 Likes
Message 7 of 10

JhoelForshav
Mentor
Mentor

Hi @Anonymous 

I've attached a sample app in this thread for showing the thubmnail in a form:

https://forums.autodesk.com/t5/inventor-customization/can-vb-net-display-part-thumbnails-in-a-form/m-p/9405241#M107433

Since it's a standalone exe the thumbnail has to be obtained through apprentice. In an addin I think you should be able to use the application object instead 🙂

Hope it helps!

Message 8 of 10

Anonymous
Not applicable

I used to write code with vb.net and I succeed in it(Aperrentice not in adddin) but I am trying to do  c# addin.Thanks for your efforts by the way.

0 Likes
Message 9 of 10

Anonymous
Not applicable

Is there any demo with C# Addin. In your examples, There are not active Documents just AppSerDoc way approach with vb.net. If I am correct. The AppSerdoc way does not work in add-in. Right? And I could not find any example with an active document way. Why?

0 Likes
Message 10 of 10

marcin_otręba
Advisor
Advisor
Accepted solution

@Anonymous 

i do not have c#, sorry.

"And I could not find any example with an active document way. Why?" -this is because common belief (from which i disagree) is that it is only possible through apprentice, this is possible also from addin with active document.

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes