Grasshopper

algorithmic modeling for Rhino

Does anybody know how to change the script context to grasshopper using the Rhino Python editor.

"sc.doc = ghdoc "

works using python in grasshopper but does not work when using python in rhino. I get the message ' "ghdoc" not defined'

Views: 625

Replies to This Discussion

Hi John,

at present you cannot add to the Grasshopper document from the _EditPythonScript editor, as that document is created on the fly when the Grasshopper definition is run.

What are you trying to do?

Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

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