.NET Framework Class Library
TraverseProjectsAssemblies.DrawingExists Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > TraverseProjectsAssemblies Class > TraverseProjectsAssemblies Methods >

.NET Framework Class Library
TraverseProjectsAssemblies.DrawingExists Method

Checks if a drawing exists for the specified UID (typically a part or assembly). The function searches for parent drawings of the given UID and verifies if the UID is the first component in any of those drawings. If such a drawing is found, its UID is returned; otherwise, an empty string is returned.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function DrawingExists ( _

 uid As String _
As String

C#

public string DrawingExists(

 string uid
)

Visual C++

public:

StringDrawingExists(
 Stringuid
)

JavaScript

function drawingExists(uid);

Parameters

uid

Type: System.String
The unique identifier of the component to check for associated drawings.

Return Value

The UID of the first drawing found where the specified UID is the first component, or an empty string if none is found.

See Also

TraverseProjectsAssemblies Class

TraverseProjectsAssemblies Members

MwPDMApi Namespace