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

try this rule:

Dim doc As PartDocument = ThisDoc.Document
For Each sketch As PlanarSketch In doc.ComponentDefinition.Sketches
    If (Sketch.ConstraintStatus = ConstraintStatusEnum.kUnderConstrainedConstraintStatus) Then
        MsgBox("Following sketch is under constrained: " & Sketch.Name)
    End If
Next

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