Grasshopper

algorithmic modeling for Rhino

as the picture,the simple syntax,"AddRectangle(x,y,z)",if i change the "y,z"to the name"hight width",the slide is not effective?how to sovle?

Views: 358

Attachments:

Replies to This Discussion

I would imagine the code needs to be:

AddRectangle(plane, width, hights[sic])

--

David Rutten

david@mcneel.com

Poprad, Slovakia

maybe you misundersand me.i wanna change the input name in python battery i write,while the python battery inside still work ,it is like other commom battery in grasshopper.

thank you .

I assume the names of the variables inside the script have to match with the names of the input parameters, just like with the VB and C# components. So if you rename the input parameters using the popup menu then that'll probably work:

--

David Rutten

david@mcneel.com

Poprad, Slovakia

but i use python,so ,how to match the names of the variable  and the input names?

thank you 

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