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

Hello Together,

you can check it with AttribueSets:

 

Sub wnTestFrame()
    Dim ASE As AttributeSetsEnumerator
    Dim Doc As Document
    Set Doc = ThisApplication.ActiveDocument
    Set ASE = Doc.AttributeManager.FindAttributeSets("com.autodesk.FG*", "*", "*")
    If ASE.Count > 0 Then MsgBox "Framegenerator Part/Assembly"
End Sub

Assemlies will be found even if only a subpart or subassemly has the AttributeSet.

 

If yout Need the Information for the single assembly you can check the AttributeSets of the componentdefinition.

 

Best Regards

Wolfgang