MDOpen

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > NeutralFormat >

MDOpen

Description

Opens the Master Drawing file masterDrawingPath and returns the handle mdid to be used for all the next function calls.

Syntax

call DBWShell("MDOpen masterDrawingPath [OkLayer]")

Parameters

masterDrawingPath

the full path name of the .PDF/.TIFF master drawing path; typically passed by DBWorks through the @MASTER_DRAWING_PATHNAME parameter to the OnApproveMasterDrawing script

OkLayer

optional.
1:enables the "Layer mode". The modifications of the PDF are stored on a specific layer named "Mechworks" and they won't be modifiable through common PDF editors. The digital signature is an example of usage for this feature.
0: the modifications will be stored on the common layer.

This parameter is effective for PDF format only

Results

@MDID

The handler of the Master Drawing to be processed with the next functions