CreatePreviewFileFromFullPath

<< Click to Display Table of Contents >>

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

CreatePreviewFileFromFullPath

available from build: 20111213

Description

This command creates a preview file given the full path of a CAD file.

Syntax

call DBWShell("CreatePreviewFileFromFullPath InputFileFullPath configuration OutputFileFullPath")

Parameters

InputFileFullPath

the full file path of the cad file to extract preview from

configuration

the file configuration to refer to
if "-" (dash) the last saved config will be used

OutputFileFullPath

the full file path of the cad file to extract preview from

Remarks

At the moment the command supports Solidworks cad file types only

Example

DBWShell("CreatePreviewFileFromFullPath \\myServer\myShare\myFiles\myAssembly.sldasm Default C:\temp\test.jpg")