Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run project with VS2010!!!

17 REPLIES 17
Reply
Message 1 of 18
omarutov
575 Views, 17 Replies

Run project with VS2010!!!

Please see the next order for generating 3D and drawings.

Run Inventor ->

Run Add-in (has been created for transfer data from database to Intent and works as interactive app for update some 3D model parameters) ->

Open Job # (transfer data from database to app) ->

Build 3D (build-in option into app).

 

All variables transfers to Intent through Dynamic Rules as lists. All children parameters in Intent have a references to particular variables in the Dynamic Rules.

 

Intent starts generate the 3D model.

 

Model was builded.

 

As user I can change some parameters through app and update their through the build-in option in app as "Update Parameters". In this case app override Dynamic Rules and update 3D.

 

If I need to change some Intent code I open Intent Design Editor and do it.

 

Now I try to do the same with VS, but then I have active Intent model VS is empty.

I can see full structure of my project in VS (Design Navigator). I can see all my Design files (Solution Explorer).

Hovewer, ETO Model Browser, ETO Model Properties shows me message "There is no Intent model loaded in Inventor". How it possible? In Inventor the Intent model is active.

Win7 x64
Xeon X5647
24 Gb RAM
Quadro FX 6000

Inventor 2013
ETO 6.1, Build 140.
17 REPLIES 17
Message 2 of 18
MjDeck
in reply to: omarutov

Please try this test:
- Close Inventor and Visual Studio
- Restart Inventor and VS
- in VS, load your solution

- in Inventor, create a new model with the "Create a new design automatically" option

Does VS connect to Inventor in this case?

DefaultAssemblyDesign.png


Mike Deck
Software Developer
Autodesk, Inc.

Message 3 of 18
omarutov
in reply to: MjDeck

No. I don't use menu "Create new file" as Intent Assembly. I use our app for that.

Win7 x64
Xeon X5647
24 Gb RAM
Quadro FX 6000

Inventor 2013
ETO 6.1, Build 140.
Message 4 of 18
MjDeck
in reply to: omarutov

I'm recommending trying to create a simple empty Intent assembly only as a test. It might help us to figure out what is causing the problem between Intent and Visual Studio.


Mike Deck
Software Developer
Autodesk, Inc.

Message 5 of 18
omarutov
in reply to: omarutov

Yes, I have a connection with VS if I use your proposal.

Win7 x64
Xeon X5647
24 Gb RAM
Quadro FX 6000

Inventor 2013
ETO 6.1, Build 140.
Message 6 of 18
MjDeck
in reply to: omarutov

OK, thanks.
Try closing that empty model, and then create one of your own models.  Do you get a connection?
If not, please use the About Inventor (or About Inventor OEM) command and post a screenshot of the About dialog.


Mike Deck
Software Developer
Autodesk, Inc.

Message 7 of 18
omarutov
in reply to: MjDeck

Yes, I have got connection.

Win7 x64
Xeon X5647
24 Gb RAM
Quadro FX 6000

Inventor 2013
ETO 6.1, Build 140.
Message 8 of 18
Lesoux
in reply to: omarutov

Hovewer, I need to repeat this way every time when I restart my machine. What would you propose?

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373
Message 9 of 18
MjDeck
in reply to: Lesoux

Lesoux, did you upgrade to ETO 6.1?


Mike Deck
Software Developer
Autodesk, Inc.

Message 10 of 18
Lesoux
in reply to: MjDeck

I have ETO R2. Sorry, I didn't update my signature.

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373
Message 11 of 18
MjDeck
in reply to: Lesoux

The first time you try after a reboot, Visual Studio doesn't connect with Inventor?
After it makes a connection, are you able to close VS and Inventor, then restart them and reliably get a connection?


Mike Deck
Software Developer
Autodesk, Inc.

Message 12 of 18
Lesoux
in reply to: MjDeck

Run VS -> Open Project -> Run Inventor -> Create empty Intent assembly through "Create new file" -> There is a connection between Intent and VS -> Close assembly -> Open my app -> Generate 3D -> There is a connection -> Close Inventor -> Close VS -> Run VS -> Open Project -> Run Inventor -> Run my app -> Generate 3D -> No connection.

 

 

I need to repeat trick with empty Intent Assembly for creating connection between Intent and VS every time when I close VS.

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373
Message 13 of 18
MjDeck
in reply to: Lesoux

After you get a connection and Generate 3D: can you close that model, Generate 3D again and get a connection? Or do you have to Create New File again?


Mike Deck
Software Developer
Autodesk, Inc.

Message 14 of 18
Lesoux
in reply to: MjDeck

Yes, I have a connection if I close 3D and generete again through my app. It works so long as VS is open.

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373
Message 15 of 18
MjDeck
in reply to: Lesoux

I don't know what is causing the problem. We will try to reproduce it.


Mike Deck
Software Developer
Autodesk, Inc.

Message 16 of 18
GeorgeWilliams
in reply to: omarutov

I am not able to get a connection to VS using the approach above.  I am able to run the solution from VS to launch a new instance of Inventor, but the debugging cycle time of that approach is too long (waiting on Inventor to start).

 

Are there some settings in VS that I need?

 

I had trouble throughout the weekend trying to use ETO Studio R2.  I have done the following already:

  1. uninstalled all custom add-ins
  2. uninstalled all Autodesk products
  3. Reinstalled ETO Studio R2 with all available options (Inventor, content center, etc)
  4. Started a new ETO design library project/solution from VS.
  5. Set that project as the active project in Inventor
  6. Followed your steps above to get the connection to VS.
  7. No luck.  Screenshots are attached.

Thanks,

George

 

Dell M6400

i7-2820QM @ 2.3GHz Quad Core

16GB RAM, 256GB SSD, Quadro 2000M

Windows 7 x64, SP1

Inventor 2013 - Build 138

ETO 6.1 - Build 140

 

 

George Williams
D3 Technologies - Automation Solutions
************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
Message 17 of 18
MjDeck
in reply to: MjDeck

I want to make sure you know that you can't debug Intent code even if you do get a connection this way. The only way to debug Intent code is to start Inventor from Visual Studio.

Do you have any Visual Studio add-ins or extensions loaded? Can you post the About dialog from your install of Visual Studio?


Mike Deck
Software Developer
Autodesk, Inc.

Message 18 of 18
GeorgeWilliams
in reply to: MjDeck

Hi Mike,

 

I learned that from the team here this morning.  That is a bummer.  I will be logging ADN issues with our discoveries on projects that depend on reference project libraries relative to performance when we run Inventor from VS for debugging.

 

Thanks,

George

George Williams
D3 Technologies - Automation Solutions
************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************

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

Post to forums  

Autodesk Design & Make Report