Design.exportManager Property

Parent Object: Design
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/Design.h>

Description

Returns the ExportManager for this design. You use the ExportManager to export the current design in various formats.

Syntax

"design_var" is a variable referencing a Design object.
# Get the value of the property.
propertyValue = design_var.exportManager
"design_var" Is a variable referencing a Design Object.
#include <Fusion/Fusion/Design.h>

// Get the value of the property.
Ptr<ExportManager> propertyValue = design_var->exportManager();
"design_var" Is a variable referencing a Design Object.
// Get the value of the property.
propertyValue = design_var.exportManager;

Property Value

This is a read only property whose value is an ExportManager.

Samples

Name Description
Export to other formats API Sample

Demonstrates exporting the active design to IGES, STEP, SAT, SMT, F3D, and STL formats.

Before running: Have a design open in the DESIGN workspace. Run the script from Scripts and Add-Ins. It writes translated files to a temporary directory and shows that path in a message box.

Set parameters from a csv file and export to STEP Reads data from a .csv file and sets user parameters in the model and then exports the model to STEP. When setting parameters be aware that this sample is setting user parameters. it is also possible to set model parameters but that's not demonstrated here. Also when accessing parameters, it is case sensitive so the names you use in your program much exactly match the names in the model.

Version

Introduced in version January 2015