.NET Framework Class Library
Tree Members

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Tree Class >

.NET Framework Class Library
Tree Members

The Tree type exposes the following members.

Methods

 

Name

Description

Public method

Equals

(Inherited from Object.)

Protected method

Finalize

(Inherited from Object.)

Public method

GetAllDocumentsInStructure

Retrieves all documents within the tree structure of a specified main document, including assemblies, parts, drawings, and generic documents. This method performs a traversal of the tree Structure, using optimized mechanisms to improve execution speed. It may not traverse all document instances when multiple occurrences exist. Optional traversal of sub-projects and inclusion of drawings are controlled by the specified parameters. This method is recommended when performance is preferred over full instance-level accuracy.

Public method

GetAllDocumentsInStructureDB

Retrieves all documents within the tree structure of a specified main document, including assemblies, parts, drawings, and generic documents. This method performs a database-driven traversal using standard Mechworks PDM APIs and walks all document instances. It guarantees full structural accuracy and consistency with the database, including correct handling of multiple occurrences. Optional traversal of sub-projects and inclusion of drawings are controlled by the specified parameters. This method is recommended when data completeness and instance accuracy are required.

Public method

GetHashCode

(Inherited from Object.)

Public method

GetType

(Inherited from Object.)

Public method

Initialize


Protected method

MemberwiseClone

(Inherited from Object.)

Public method

ToString

(Inherited from Object.)

Public method

WalkTree

Traverse a document tree.

Public method

WalkTreeAllInstances

Traverse a document tree, walking over every instance of the components of an assembly.

Public method

WalkTreeBottomTop

Traverse a document tree, in a bottom-to-top order.

Public method

WithCallback(SimpleUserProcessDocument)

Returns an object that allows to traverse a document tree using a callback method instead of an object

Public method

WithCallback(UserProcessDocument)

Returns an object that allows to traverse a document tree using a callback method instead of an object

Public method

WriteActualTree

Writes the actual tree structure built in the Tree Page on the assigned file.

Public method

WriteTree

Writes on the file _fileName_._revName_.TREE a representation of the tree structure of the document with the passed _docUid_.

See Also

Tree Class

MwPDMApi Namespace