NamedValues.getValueByName Method
Parent Object:
NamedValuesDefined in namespace "adsk::core" and the header file is <Core/Application/NamedValues.h>
Description
Function that returns the ValueInput object of a name value pair by specifying its name
Syntax
"namedValues_var" is a variable referencing a NamedValues object.
(returnValue, value) = namedValues_var.getValueByName(name)
|
#include <Core/Application/NamedValues.h
// Declare the output arguments. string name; Ptr<ValueInput> value; boolean returnValue = namedValues_var->getValueByName(name, value);
|
Return Value
boolean |
Returns true if successful |
Parameters
name |
string |
The name of the name value pair to return the ValueInput object from |
value |
ValueInput |
The ValueInput object |
Version
Introduced in version August 2014