algorithmic modeling for Rhino
I have been working on the new python component inside grasshopper 0.8.0010 and the latest build of rhino 5.0. For the sake of time, I am using rhinoscript in the component and I am doing a surfaceContour on a simple surface. All the inputs have been successfully collected using other grasshopper component and I want the coutour curves show up in the output of this python component.
I want the resultant curves stayed in grasshopper rather than the viewport of the rhino. I've set the mode to "in ghdoc variable", but I always get the error "object reference not set to an instance of an object."
Could you tell me what should I do to fix this?
The snapshots and files are included in the attachment.
Many thanks!
Jerome
Tags:
Hi Jerome,
the script works just as you wrote it, but you need to be sure to have
We are updating GhPython frequently to fix any bugs that are found.
Also, to have a little more error-proof component, you need to check to have two valid points and a valid surface as input, and you can directly use the ghdoc variable to set results.
- Giulio
______________
giulio@mcneel.com
McNeel Europe
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by