how could I search for suppressed constraints and list them in a Listbox.
Thank you very much
In this case you need a userform, a listbox named ListBox1 and a commandbutton named CommandButton1
put the code in the sub CommandButton1_Click() , run the form and press the button
Private Sub CommandButton1_Click()
Dim oAssDoc As AssemblyDocumentSet oAssDoc = ThisApplication.ActiveDocument
Dim oConstraint As AssemblyConstraint
For Each oConstraint In oAssDoc.ComponentDefinition.Constraints
If oConstraint.HealthStatus = kSuppressedHealth Then
Thank you very much. I'll give it a try.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.