Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to create a sketchPoint from a Face selection. I'd like to have this point where I clicked on my Face.
The point is never on the created sketch.
I think I'm not using the right way to do this.
constructLib = adsk.core.ObjectCollection.create()
Selection = ui.selectEntity('Select FIRST FACE', 'Faces')
constructLib.add(Selection.entity)
newSketch0 : adsk.fusion.Sketch = rootComp.sketches.add(constructLib.item(0))
ClickPoint : adsk.core.Point3D = Selection.point
newSketch0.sketchPoints.add(ClickPoint)
thanks for your help 🙂
Solved! Go to Solution.