Some stuff regarding classes, i do right now.
Does anybody have some practical use regarding architecture?
I have these small examples:
from Autodesk.DesignScript.Geometry import *
#The inputs to this node will be stored as a list in the IN variables.
name = IN
age = IN
def init(mysillyobject, name, age):
mysillyobject.name = name
mysillyobject.age = age
return ("Hello my name is " + abc.name)
p1 = Person(name, age)
OUT = p1.myfunc()
How can I use that for lists? And for what can I use that in my projects?
class.dyn (13.7 KB)