PlasticRules.itemByName Method
Parent Object:
PlasticRulesDefined in namespace "adsk::fusion" and the header file is <Fusion/Plastic/PlasticRules.h>
Description
Function that returns the specified plastic rule using the name of the rule.
Syntax
"plasticRules_var" is a variable referencing a PlasticRules object.returnValue = plasticRules_var.itemByName(name)
|
"plasticRules_var" is a variable referencing a PlasticRules object.
#include <Fusion/Plastic/PlasticRules.h>
returnValue = plasticRules_var->itemByName(name);
|
Return Value
PlasticRule |
Returns the specified item or null if the specified name was not found. |
Parameters
name |
string |
The name of the rule within the collection to return. This is the name seen in the Plastic Rules dialog. |
Version
Introduced in version January 2024