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

Sorry I guess to me iLogic is API too but here is code for VBA as well. 

Dim app As Application
Dim Doc As Document

Set app = ThisApplication
Set Doc = app.ActiveDocument
Dim compOcc As ComponentOccurrence
Set compOcc = Doc.ComponentDefinition.Occurrences.ItemByName("PartName:1")
Dim ADV As Boolean
ADV = compOcc.IsAssociativeToDesignViewRepresentation
Debug.Print (ADV)


Have you ever used the "object browser" under the View tab in VBA? There is a load of info about data types for the variables in that.  

If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State

Custom Glyph Icon for iMates