Embedding Inventor into a Winform

Embedding Inventor into a Winform

NachoShaw
Advisor Advisor
438 Views
2 Replies
Message 1 of 3

Embedding Inventor into a Winform

NachoShaw
Advisor
Advisor

Hey

 

A short while ago a saw an image of a wi form (not on here) that had an inventor window embedded into a form. It wasn't the Inventor viewer because that doesn't look good and it had the 3D cube in the top left corner.

 

What I'm trying to do is make an editor like a configurator with a visual element of the part on the form and as the parameters are updated in the form, the part is updated.

 

I could do it with Client View but past experience of that is its not 100$ reliable and sometimes doesn't display.

 

So the question is, can I embed a dynamic view that isn't InventorView or is there a good method to achieve what I need?

 

 

Thanks

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
439 Views
2 Replies
Replies (2)
Message 2 of 3

WCrihfield
Mentor
Mentor

Whey you say 'dynamic view' do you mean you want to be able to zoom, rotate, and measure the model within this view, or do you just want something like an ortho/iso view that updates after parameter changes?  If you just need an orthgo/iso view of the part that updates when parameters change, you may be able to just use something like the OnParameterChange or other similar event, to trigger a Sub that updates the model, captures a new image of it, then replaces the current image within your form, with the updated image.

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click 'LIKE' 👍.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 3

NachoShaw
Advisor
Advisor

Hi

 

Thanks for the reply. Im not looking to rotate at all, im only interested in the Front View as 2D representation. I did think about doing what you suggested but i have a couple of issues with the current Inventor methods-

 

Client View - Model

  • There doesnt seem to be a way of showing a client view on a different view rep. the master view rep shows all of the planes which isnt pretty
  • even though there appears to a background color for the ClientView, it doesnt work.

Client View - Drawing

  • this works about 50% of the time only

Inventor View

  • Cant seem to change the garrish blue background.

 

i used ClientView a few years ago and wrote a function to capture the image into a database. All looked good apart from the Master View showing planes etc

 

 

i'll mess around with it a little more and report back.

 

Thanks

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes