Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JelteDeJong
in reply to: sam

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.

EESignature


Blog: hjalte.nl - github.com