What attribute of Sketches allows to create a sketch on a face of a cube?
Solved! Go to Solution.
Solved by erik. Go to Solution.
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.