Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Robot Open Standard with vb.net and Grasshopper API

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
guillaumeniel
1388 Views, 7 Replies

Robot Open Standard with vb.net and Grasshopper API

Hi,

I started to use Robot Open Standard with Grasshopper (Rhino3d).

 

In the Manage Assemblies menu, I loaded the file Interop.RobotOM.dll (I can't use the robot.tlb file because it has to be a .dll file).

 

The problem is that in my vb.net code, I cannot use a syntax like I_PT_FRAME_2D without precising IRobotProjectType. So my code looks like :

 

Robot.Project.New(IRobotProjectType.I_PT_FRAME_2D)

Label = Robot.Project.Structure.Labels.Create(IRobotLabelType.I_LT_SUPPORT, "Support")

 

instead of

 

Robot.Project.New I_PT_FRAME_2D

Label = Robot.Project.Structure.Labels.Create(I_LT_SUPPORT, "Support")

 

It is quite uncomfortable. How can I fix this ?

7 REPLIES 7
Message 2 of 8

Use import in header

 

Imports RobotOM

 And correct reference:

 

refer.jpg



Rafal Gaweda
Message 3 of 8

Rafal,

I don't understand your answer. In the import header, the syntax already is 'Imports RobotOM'.

The capture you sent does not match with the assemblies manager in Grasshopper. Here is my manager

 

Capture.JPG

 

I have to select a .dll file, and I selected the Interop.robotOM.dll file. I don't understand what correction to do.

Message 4 of 8

I will do my best but I do not know grasshopper.



Rafal Gaweda
Message 5 of 8
Rafal.Gaweda
in reply to: Rafal.Gaweda

Right click on the component in Grasshopper, go to add, then navigate to Interop.RobotOM.dll – example location  is shown below. 

 

gs.jpg

 

In case of further problems please check Private Message



Rafal Gaweda
Message 6 of 8

That is what I did, this does not solve my problem. It is not a big deal, so I'll stop this topic. Could you just send me the last version of the file Interop.RobotOM.dll, maybe it will help ?

I'll also have a discussion with this person.

 

Thanks

Message 7 of 8

Interop from 2013 version attached



Rafal Gaweda
Message 8 of 8

Thanks.

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

Post to forums  

Autodesk Design & Make Report