Solid Edge Framework Type Library
AttributeQuery Object
Members 
Description
Contains the QueryByName method, which enables you to locate attribute sets and individual attributes.
Object Model
AttributeQuery ObjectApplication ObjectSelectSet CollectionAddIns CollectionApplication ObjectApplicationEvents ObjectApplicationV8DocumentOpenEvent ObjectApplicationWindowEvents ObjectBeforeFileSaveAsEvents ObjectCommand ObjectCustomization ObjectDocuments CollectionEnvironments CollectionFeatureLibraryEvents ObjectFileUIEvents ObjectMatTable ObjectInsight ObjectNewFileUIEvents ObjectApplication ObjectSEECEvents ObjectSESPEvents ObjectShortcutMenuEvents ObjectSolidEdgeInsightXT ObjectSolidEdgeTCE ObjectWindows CollectionQueryObjects ObjectApplication Object
Remarks
All of the Document's (Assembly, Draft, Part, SheetMetal, SolidEdge, and Weldment) support the AttributeQuery object. The Parent of the AttributeQuery object is the document from which it was accessed.
Example
Imports System.IO
Imports System.Runtime.InteropServices

Module Example
    <STAThread()> _
    Sub Main()
        Dim objApplication As SolidEdgeFramework.Application = Nothing
        Dim objPartDocument As SolidEdgePart.PartDocument = Nothing
        Dim objAttributeQuery As SolidEdgeFramework.AttributeQuery = Nothing

        Try
            OleMessageFilter.Register()

            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            objPartDocument = objApplication.ActiveDocument
            objAttributeQuery = objPartDocument.AttributeQuery

        Catch ex As Exception
            Console.WriteLine(ex.Message)
        Finally
            OleMessageFilter.Revoke()
        End Try
    End Sub

End Module
See Also

AttributeQuery Members