FlatPatternComponent.partNumber Property

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

Description

Gets and sets the part number associated with this component. Setting this to an empty string will reset it to be the same as the component name.

Syntax

"flatPatternComponent_var" is a variable referencing a FlatPatternComponent object.

# Get the value of the property.
propertyValue = flatPatternComponent_var.partNumber

# Set the value of the property.
flatPatternComponent_var.partNumber = propertyValue
"flatPatternComponent_var" is a variable referencing a FlatPatternComponent object.
#include <Fusion/SheetMetal/FlatPatternComponent.h>

// Get the value of the property.
string propertyValue = flatPatternComponent_var->partNumber();

// Set the value of the property, where value_var is a string.
bool returnValue = flatPatternComponent_var->partNumber(value_var);

Property Value

This is a read/write property whose value is a string.

Version

Introduced in version October 2022