.NET Framework Class Library
Document.CreatePreviewFileFromFullPath Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Document Class > Document Methods >

.NET Framework Class Library
Document.CreatePreviewFileFromFullPath Method

Creates a preview file given the full path of a CAD file.

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

Syntax

Visual Basic

Public Sub CreatePreviewFileFromFullPath ( _

 fileFullPath As String, _
 configuration As String, _
 outputFullPath As String _
)

C#

public void CreatePreviewFileFromFullPath(

 string fileFullPath,
 string configuration,
 string outputFullPath
)

Visual C++

public:

void CreatePreviewFileFromFullPath(
 StringfileFullPath,
 Stringconfiguration,
 StringoutputFullPath
)

JavaScript

function createPreviewFileFromFullPath(fileFullPathconfigurationoutputFullPath);

Parameters

fileFullPath

Type: System.String
the full file path of the cad file to extract preview from

configuration

Type: System.String
the file configuration to refer to. If "-" (dash) the last saved config will be used

outputFullPath

Type: System.String
the full file path of the cad file to extract preview from

Remarks

At the moment the command supports Solidworks cad file types only

See Also

Document Class

Document Members

MwPDMApi Namespace