Component.revisionId Property

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

Description

Returns the current revision ID of the component. This ID changes any time the component is modified in any way. By getting and saving the ID when you create any data that is dependent on the component, you can then compare the saved ID with the current ID to determine if the component has changed to know if you should update your data.

Syntax

"component_var" is a variable referencing a Component object.

# Get the value of the property.
propertyValue = component_var.revisionId
"component_var" is a variable referencing a Component object.
#include <Fusion/Components/Component.h>

// Get the value of the property.
string propertyValue = component_var->revisionId();

Property Value

This is a read only property whose value is a string.

Samples

Name Description
Component Sample Component related functions

Version

Introduced in version September 2017