Solid Edge Part Type Library
AttachedPropertyTable Object
Members 
Description
Represents an occurrence of a PropertyTableDefinition object with values assigned for a specific topological element.
Object Model
AttachedPropertyTable ObjectApplication ObjectSelectSet CollectionAddIns CollectionApplication ObjectApplicationEvents ObjectApplicationV8DocumentOpenEvent ObjectApplicationWindowEvents ObjectBeforeFileSaveAsEvents ObjectCommand ObjectCustomization ObjectDocuments CollectionEnvironments CollectionFeatureLibraryEvents ObjectFileUIEvents ObjectMatTable ObjectInsight ObjectNewFileUIEvents ObjectApplication ObjectSEECEvents ObjectSESPEvents ObjectShortcutMenuEvents ObjectSolidEdgeInsightXT ObjectSolidEdgeTCE ObjectWindows CollectionAttachedProperties CollectionPropertyTableDefinition ObjectApplication ObjectPropertyDefinitions Collection
Remarks
For a document object, there is an associated collection of PropertyTableDefinition objects. Each PropertyTableDefinition object contains a collection of PropertyDefinition objects. To set custom properties, you associate a PropertyTableDefinition with a topological element such as a face or an edge. In the automation interface, this association results in an AttachedPropertyTable object. It is on the AttachedProperties (the collection of properties on a specific topological instance) that you can set values.
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 objAttachedPropertyTables As SolidEdgePart.AttachedPropertyTables = Nothing
        Dim objAttachedPropertyTable As SolidEdgePart.AttachedPropertyTable = Nothing

        Try
            OleMessageFilter.Register()

            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            objPartDocument = objApplication.ActiveDocument
            objAttachedPropertyTables = objPartDocument.AttachedPropertyTables

            For Each objAttachedPropertyTable In objAttachedPropertyTables

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

End Module
See Also

AttachedPropertyTable Members