You will probably need to contact the person who wrote the Helix Generator to help you. . . If you can provide a code example and specific error, then someone on this forum may be able to help.
If you are interested in writing your own script, the code below would be a good starting point. Or, you could just update the parameters and use it as is. . . (Note that the units of measure are cm and radians though)
import adsk.core, adsk.fusion, adsk.cam, traceback
def run(context):
ui = None
try:
app = adsk.core.Application.get()
ui = app.userInterface
product = app.activeProduct
design = adsk.fusion.Design.cast(product)
design.designType = adsk.fusion.DesignTypes.DirectDesignType
rootComp = design.rootComponent
bRepTemp = adsk.fusion.TemporaryBRepManager.get()
#Helix Parameters
axisPoint = adsk.core.Point3D.create(10.0, 10.0, 10.0)
axisVector = adsk.core.Vector3D.create(0.0, 1.0, 0.0)
startPoint = adsk.core.Point3D.create(8.0, 2.0, 10.0)
pitch = 1.0
turns = 5
taperAngle = 0.5
#Create the helix
helixBody = bRepTemp.createHelixWire(axisPoint,axisVector,startPoint,pitch,turns,taperAngle)
bRepBodies=rootComp.bRepBodies
newHelix=bRepBodies.add(helixBody)
sketches=rootComp.sketches
xyPlane=rootComp.xYConstructionPlane
mySketch=sketches.add(xyPlane)
mySketch.include(newHelix.wires[0].edges[0])
newHelix.deleteMe()
except:
if ui:
ui.messageBox('Failed:\n{}'.format(traceback.format_exc()))
Aaron Jarrett, PEInventor 2019 | i7-6700K 64GB NVidia M4000
LinkedInLife is Good.