08-15-2018
06:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-15-2018
06:17 AM
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
Mass Override for Each Model State
Custom Glyph Icon for iMates