ModelParameters.itemByName Method

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

Description

Function that returns the specified Model Parameter using the name of the parameter as it is displayed in the parameters dialog.

Syntax

"modelParameters_var" is a variable referencing a ModelParameters object.
returnValue = modelParameters_var.itemByName(name)
"modelParameters_var" is a variable referencing a ModelParameters object.

#include <Fusion/Fusion/ModelParameters.h>

returnValue = modelParameters_var->itemByName(name);

Return Value

Type Description
ModelParameter Returns the specified item or null if an invalid name was specified.

Parameters

Name Type Description
name string The name of the Model Parameter as it is displayed in the parameters dialog

Version

Introduced in version August 2014