MotionLinkInput.valueOne Property

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

Description

Gets and sets the first motion link value. If the ValueInput uses a real then it is interpreted as centimeters for length and radians for angle. If it is a string then the units can be defined as part of the string (i.e. "2 in" or "60 deg") or if no units are specified it is interpreted using the current default units for length or angle.

Syntax

"motionLinkInput_var" is a variable referencing a MotionLinkInput object.

# Get the value of the property.
propertyValue = motionLinkInput_var.valueOne

# Set the value of the property.
motionLinkInput_var.valueOne = propertyValue
"motionLinkInput_var" is a variable referencing a MotionLinkInput object.
#include <Fusion/Components/MotionLinkInput.h>

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

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

Property Value

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

Version

Introduced in version November 2025