ImportManager.createSMTImportOptions Method
Parent Object:
ImportManagerDefined in namespace "adsk::core" and the header file is <Core/Application/ImportManager.h>
Description
Creates an SMTImportOptions object that's used to import a design from SMT format. Creation of the SMTImportOptions object does not perform the import. You must pass this object to one of the ImportManager import methods to perform the import. The SMTImportOptions supports any available options when importing from SMT format.
Syntax
"importManager_var" is a variable referencing an ImportManager object.returnValue = importManager_var.createSMTImportOptions(filename)
|
"importManager_var" is a variable referencing an ImportManager object.
#include <Core/Application/ImportManager.h>
returnValue = importManager_var->createSMTImportOptions(filename);
|
Return Value
SMTImportOptions |
The created SMTImportOptions object or null if the creation failed. |
Parameters
filename |
string |
The filename or URL of the SMT file to be imported. |
Samples
Version
Introduced in version September 2015