ImportManager.createIGESImportOptions Method

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

Description

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

Syntax

"importManager_var" is a variable referencing an ImportManager object.

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

#include <Core/Application/ImportManager.h>

returnValue = importManager_var->createIGESImportOptions(filename);
"importManager_var" is a variable referencing an ImportManager object.

returnValue = importManager_var.createIGESImportOptions(filename);

Return Value

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

Parameters

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

Samples

Name Description
Import Manager API Sample

Demonstrates ImportManager for IGES, STEP, SAT, SMT, Fusion archive (F3D), and DXF 2D import, including importToNewDocument, importToTarget, and ImportOptions.isViewFit.

Before running: The sample paths point at neutral-format test files under Core/Neutron/Test/APITest/ (for example APISampleImportNeutralIgs.igs). When you run the script yourself, either place equivalent files at those paths or edit the file paths in the sample. The automation test uses paths relative to the script via TestUtils. Imports create new documents or add to the active design depending on the section you run.

Version

Introduced in version September 2015