Hi All,
I can’t figure out how to use design script in Python, could anyone help? Thanks
You need to import the library:
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
clr.AddReference('DSCoreNodes')
import DSCore
from DSCore.List import *
#Assign your output to the OUT variable.
OUT = DSCore.List.OfRepeatedItem(1, 10)
Many thanks