Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't Sketch on Face of Existing body

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
768 Views, 1 Reply

Can't Sketch on Face of Existing body

What attribute of Sketches allows to create a sketch on a face of a cube?

1 REPLY 1
Message 2 of 2
erik
in reply to: Anonymous

That is because a sketch is added to a component when it is created.

If you have the component you can get the sketches associated with it and then add a sketch and give it the face of your body. It would look something like this:

 

Component.sketches.add(BRepBodyFace)

 

You can use a selection with the filter 'Faces' to get the specific face and the pass it as the argument in the code above.

 

Please ask if you have any further questions or this didn't answer your question.

 

- Erik

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report