Grasshopper

algorithmic modeling for Rhino

Hi,

I am working on a formfinding script using GH and VB.net components.

Now that it is working, I want to export datas and create a link between GH and Robot Structural Analysis (Autodesk).

Robot has a specific OM library, which has to be imported in order to be able to use Robot types in the VB.net component. 

I don't know how to do that, since it is not possible to add imports in the VB.net script (grey background locked zone at the beginning of any VB.net component script).

I should import a library file called robotom.tlb, but don't know how to do it.

Any idea ?

Views: 1140

Replies to This Discussion

Hi Guillaume,

You can reference an external assembly by right clicking on the script component.  You can then reference the robot interop .dll and the RobotOM namespace will be available.

But I would advise on setting up a visual studio project and compile a custom .gha file as debugging is near impossible in a script component.

Your other option is to use my components (Grasshopper is after all a visual programming environment).  Each of my components is like a constructor or method, and I've spent 3 years developing the database and data structures for Grasshopper.  You might invest a lot of effort to redevelop much of what is available.

Hope it helps,

Jon

Thank you Jon. 

I am aware that you developped components to manage links between GH and Robot, but I want to understand the principles before investing. 

I'll also try to use Visual Studio with the wizard made by Giulio Piacentino.

I downloaded the Robot SDK package, but they did not mention the Interop.RobotOM.dll file.

Where did you find the Robot SDK package?   I only have a version from 2010.

Actually, i asked Autodesk to send it to me. We have several licences at the office and a full assistance contract. I can send it to you if you want to.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service