06-12-2018
12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-12-2018
12:55 AM
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 SubAssemlies 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