ImportManager.createSTEPImportOptions Method

Parent Object: ImportManager
Defined in namespace "adsk::core" and the header file is <Core/Application/ImportManager.h>

Description

Creates an STEPImportOptions object that's used to import a design from STEP format. Creation of the STEPImportOptions object does not perform the import. You must pass this object to one of the ImportManager import methods to perform the import. The STEPImportOptions supports any available options when importing from STEP format.

Syntax

"importManager_var" is a variable referencing an ImportManager object.
returnValue = importManager_var.createSTEPImportOptions(filename)
"importManager_var" is a variable referencing an ImportManager object.

#include <Core/Application/ImportManager.h>

returnValue = importManager_var->createSTEPImportOptions(filename);

Return Value

Type Description
STEPImportOptions The created STEPImportOptions object or null if the creation failed.

Parameters

Name Type Description
filename string The filename or URL of the STEP file to be imported.

Samples

Name Description
Import Manager API Sample Demonstrates how to import different formats to Fusion document

Version

Introduced in version September 2015