Python node

I am trying to write python need that uses dynamo translate module, however, it raises an error:

hello @maxy_13
try this


import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

geo = IN[0]

move = geo.Translate(Vector.XAxis(), 10)
OUT = move
1 Like