SheetMetalRules.itemByName Method
Parent Object:
SheetMetalRulesDefined in namespace "adsk::fusion" and the header file is <Fusion/SheetMetal/SheetMetalRules.h>
Description
Function that returns the specified sheet metal rule using the name of the rule.
Syntax
"sheetMetalRules_var" is a variable referencing a SheetMetalRules object.returnValue = sheetMetalRules_var.itemByName(name)
|
"sheetMetalRules_var" is a variable referencing a SheetMetalRules object.
#include <Fusion/SheetMetal/SheetMetalRules.h>
returnValue = sheetMetalRules_var->itemByName(name);
|
Return Value
SheetMetalRule |
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 Sheet Metal Rules dialog. |
Version
Introduced in version November 2022