Component.partNumber Property
Parent Object:
ComponentDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/Component.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
"component_var" is a variable referencing a Component object.
# Get the value of the property. propertyValue = component_var.partNumber
# Set the value of the property. component_var.partNumber = propertyValue
|
"component_var" is a variable referencing a Component object.
#include <Fusion/Components/Component.h>
// Get the value of the property. string propertyValue = component_var->partNumber();
// Set the value of the property, where value_var is a string. bool returnValue = component_var->partNumber(value_var);
|
Property Value
This is a read/write property whose value is a string.
Version
Introduced in version June 2015