JointOriginInput.offsetX Property

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

Description

Gets and sets the value that defines the X offset direction. This defaults to zero if it's not specified. The value defines a distance and if the ValueInput is defined using the createByReal method the value is assumed to be centimeters.

Syntax

"jointOriginInput_var" is a variable referencing a JointOriginInput object.

# Get the value of the property.
propertyValue = jointOriginInput_var.offsetX

# Set the value of the property.
jointOriginInput_var.offsetX = propertyValue
"jointOriginInput_var" is a variable referencing a JointOriginInput object.
#include <Fusion/Components/JointOriginInput.h>

// Get the value of the property.
Ptr<ValueInput> propertyValue = jointOriginInput_var->offsetX();

// Set the value of the property, where value_var is a ValueInput.
bool returnValue = jointOriginInput_var->offsetX(value_var);

Property Value

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

Version

Introduced in version September 2015