Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The code below is part of an add-in script I am developing.
This works just fine in a part of the script just above it that is almost identical.
# Create Plate AX
plateAXprof = moldBaseSketch.profiles[0]
plateAXextInput = extrudes.createInput(plateAXprof, adsk.fusion.FeatureOperations.NewBodyFeatureOperation)
deg0 = adsk.core.ValueInput.createByString("0 deg")
distance3 = adsk.core.ValueInput.createByReal(numPlateXthickness) # distance3 = 2.2225
distance4 = adsk.core.ValueInput.createByReal((numPlateXthickness + numPlateAXthickness) * -1) # distance 4 = -5.715
plateAXextInput.setTwoSidesExtent(distance3, distance4, deg0, deg0) # numPlateAXthickness = 3.4925 - line 410
plateAXext = extrudes.add(plateAXextInput)
This is the cryptic error message I am getting.
Can someone please explain.
Thank you.
Brad Bylls
Solved! Go to Solution.