.NET Framework Class Library
CADSystem Methods

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > CADSystem Class >

.NET Framework Class Library
CADSystem Methods

The CADSystem type exposes the following members.

Methods

 

Name

Description

Public method

CheckForConversion

Returns TRUE if the file assigned as filename is of an older file format than the current ones created by CAD Application.

Public method

Close

Close the current opened file in CAD application.

Public method

Equals

(Inherited from Object.)

Protected method

Finalize

(Inherited from Object.)

Public method

GetActiveDocConfigurationInfos

Gets the name of the configuration of the currently opened model.

Public method

GetCADVersion

Returns the name of the used CAD, its major version and the installed service pack.

Public method

GetDocumentExternalReferences

This command returns the external references for the passed document

Public method

GetHashCode

(Inherited from Object.)

Public method

GetType

(Inherited from Object.)

Public method

IsDetachedDrawing

Returns if a drawing is detached or not, according to the way the drawing has been saved

Public method

IsStandardPart

Returns if a part is a standard part, according to options setting

Public method

MaximizeCAD

Maximize the CAD application main window.

Protected method

MemberwiseClone

(Inherited from Object.)

Public method

MinimizeCAD

Minimize the CAD application main window.

Public method

Open

Open the assigned file in CAD application.

Public method

RefreshVariantNotes

Refreshes all the DBWorks variant notes of a drawing. The file can be opened or not, in the latter case it will be automatically opened and closed by DBWorks. The file can also be read-only, in which case it will be temporarily unlocked for the time necessary to the operation.

Public method

ReplaceReferencedConfiguration

Replaces in an assembly file a specific configuration of a component with another configuration of a different component.

Public method

ReplaceReferencedDocument

Replace references in document.

Public method

Save

Saves the currently opened file in CAD application.

Public method

Save2

Saves the currently opened file in CAD application.

Public method

Save3

Saves the currently opened file in CAD application.

Public method

SaveAs

Saves with a specified name the currently opened file in CAD application.

Public method

SaveAsByUniqueId

Creates a duplicate of type extension of the CAD document with unique id equal to UniqueId. If okAttach=true then the new document is appended as a child to the original one.

Public method

SaveAsByUniqueIdEDrawing

Creates an eDrawing file (*.EPRT, *.EASM or *.EDRW) of the document with unique id equal to UniqueId (part, assembly or drawing) If eDrawingRoot and eDrawingID are specified, the fullpathname of saved file is of type eDrawingRoot+eDrawingID+_eDrawing extension_, otherwise _original file name_._configuration._eDrawing extension_ If okAttach=true then the new document is appended as a child to the original one.

Public method

SaveAsEDrawing

Saves with a eDrawing specified name the currently opened file in CAD application.

Public method

SaveAsPDF

Saves with a PDF specified name the currently opened file in CAD application.

Public method

ToString

(Inherited from Object.)

Public method

TrackEvents

Activate/deactivate the event system of the Mechworks PDM, enabling a script to AVOID the automatic recording when saving

See Also

CADSystem Class

MwPDMApi Namespace