Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8539

Using WeaverBird from C# Rhp plug in

$
0
0

@Aitor wrote:

Hi,

I am trying to make a new plugIn for Rhino in C#. Tests are working great so far.

In GH I was using WeaverBird to create a mesh from lines and I am experiencing some issues to make this happen in the plugIn.

  • I have imported WeaverBird Rhp into my C# project.
  • I have created an instance of WbMeshFromLinesCommand with no issues.

The problem comes when I am trying to run the command. It is asking for IRhinoCommandContext and I have no clue where I can get the context, so I can pass it as argument. If it is possible I would like to avoid RhinoApp.RunScript.

Any suggestion? Thanks

Posts: 8

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 8539

Trending Articles