Grasshopper

algorithmic modeling for Rhino

Hi all,

Some of Python code, which works perfectly by running script, doesn't work within Python module in Grasshopper. It is quite often to say " Parameter must be a Guid or string representing a Guid ".

I looked through discussions about the difference between Rhino Object and RhinoCommon Geometry and so on, so I briefly understood on issue, but still confused.
Some of command, such as rhinoscriptsyntax.AddLine, works with assigned points, but "OrientObject" command returned the error message.

I tried to change type hint from something to "ghdoc object when geometry", but it doesn't work.

Could anyone kindly help me sort out this problem?

many thanks,

Views: 242

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service