TranslatorAddIn.SaveCopyAs Method

Parent Object: TranslatorAddIn

Description

Save the document to the specified data-source.

Remarks

See the various sample programs and the Translator Options page for more information.

Syntax

TranslatorAddIn.SaveCopyAs( SourceObject As Object, Context As TranslationContext, Options As NameValueMap, TargetData As DataMedium )

Parameters

Name Type Description
SourceObject Object Input object that specifies the source of the data to be saved. This can be a Document or FlatPattern object. FlatPattern can be exported to DXF, DWG, STEP and IGES formats.
Context TranslationContext Input TranslationContext object that can be used to determine the context for the translation.
Options NameValueMap Input NameValueMap that specifies translation options.
TargetData DataMedium Input DataMedium object that specifies the medium of the data to be saved.

Samples

Name Description
Publish FlatPattern to STEP This sample demonstrates how to save a FlatPattern file using the STEP translator add-in.
Export to USDz This sample demonstrates how to export a part or assembly document to USDz format.
Publish FlatPattern to DXF This sample demonstrates how to save a FlatPattern file using the DXF translator add-in.
Save as DWF Translator Sample This sample demonstrates how to save a DWF file using the DWF translator add-in.
Save as DWG Translator Sample This sample demonstrates how to save a DWG file using the DWG translator add-in.
Save as DXF Translator Sample This sample demonstrates how to save a DXF file using the DXF translator add-in.
Save as IGES Translator Sample This sample demonstrates how to save a IGES file using the IGES translator add-in.
Save as PDF Translator Sample This sample demonstrates how to save a PDF file using the PDF translator add-in.
Save as STEP Translator Sample This sample demonstrates how to save a STEP file using the STEP translator add-in.
Export to DWF This sample demonstrates publishing of Inventor files in DWF format.
Export to DWG This sample uses the DWG Translator Addin to publish to DWG.
Export to DXF This sample uses the DXF Translator Addin to publish to DXF.
Export to IGES This sample demonstrates exporting of Inventor files in IGES format.
Export to STEP This sample demonstrates exporting of Inventor files in STEP format.
Export to PDF This sample demonstrates exporting of Inventor files in PDF format.

Version

Introduced in version 4