Grasshopper

algorithmic modeling for Rhino

I have a bunch of components that work by communicating with a c++ dll through a c++.net dll. When i start grasshopper they check for various things and i get the attached screen capture. Additionally, for other simmilarly designed components, i get an error that reads:

Plugin commands must pass a pointer to their parent plugin.

Your command class constructor must look like:

MyPluginCommand::MyPluginCommand():CRhinoCommand(false,false,::plugin())

This error did not appear on previous versions of grasshopper. I am also not sure i can fix this error considering my current configuration.

Any ideas?

Views: 839

Replies to This Discussion

Hi Erik,

we're well out of RhinoCommon terrain here so I'm not going to be much help. 

Are you creating commands as well as Grasshopper components in a single plugin?

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Sort of. The c++ plugin also exports the dll commands which in turn i call from the c# grasshopper component. This error did not appear in previous versions of Grasshopper and i havent changed anything in the code. Are there any recent changes that may have effected this?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service