Share

DataMedium Object


Description

The DataMedium object is used when exporting/importing to various formats using the TranslatorAddIn APIs. See the 'export' samples under TranslatorAddin for examples of its use.

Properties

Name Description
FileName Specifies the name of a data file.
IDataObject Specifies a IDataObject containing the data.
MediumType Specifies the type of the data.
Stream Specifies an IStream containing the data.
String Specifies a String containing the data.

Accessed From

TransientObjects.CreateDataMedium

Samples

Name Description
Open a Catia file using the Catia Translator Sample This sample demonstrates how open an Catia file using the Catia translator add-in.
Open an NX file suing the NX Translator Sample This sample demonstrates how open an NX file using the NX translator add-in.
Open an STL file using the STL Translator Sample This sample demonstrates how open an STL file using the STL 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

Was this information helpful?