04-13-2020
01:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-13-2020
01:09 PM
named faces are attributes under the hood. try this vba code. just change the namedFace vaiable to what ever you named the face.
Dim namedFace As String
namedFace = "testFace"
Dim doc As PartDocument
Set doc = ThisApplication.ActiveDocument
Dim face As face
Set face = doc.AttributeManager.FindObjects(, , namedFace)(1)
Dim sketch As PlanarSketch
Set sketch = doc.ComponentDefinition.Sketches.Add(face)
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com