- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
The have the following snip of code.
entities = []
entities.append(circle1)
#create intercest points
intersectShank = sketchshank.intersectWithSketchPlane(entities)
circlesshank = sketchshank.sketchCurves.sketchCircles
-------------------
now if I add a circle by centre radius using one of the intersect points. that works fine.
shank = circlesshank.addByCenterRadius(intersectShank[1], 0.1 )
Now if I add a circle by 2 points like this that works
shank = circlesshank.addByTwoPoints(adsk.core.Point3D.create(0, 0, 0), adsk.core.Point3D.create(0.1, 0, 0) )
But if I use 1 of the intersect points in the by two point I get an error
shank = circlesshank.addByTwoPoints(intersectShank[1], adsk.core.Point3D.create(0.1, 0, 0) )
Complaining that I need 2 arguments of type error
Why is the intersect point now a valid point when used in the addByTwoPoints method?
Cheers, Stephen
Solved! Go to Solution.