PipeFeatureInput.distanceOne Property

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

Description

Gets and sets the distance for the pipe created while following the path given as input, in the same order. This value defaults to 1.0 if not set.

If the path is open, setting this to a value between 0.0 and 1.0 decides the length of the created Pipe. If the path is closed, setting this value should not be higher than 1.0 - distanceTwo. Ex: Path is made of curves A-B-C-A. The distanceOne returns and sets the length of the pipe going from A-B-C-A.

This property returns null in the case where the feature is non-parametric.

Syntax

"pipeFeatureInput_var" is a variable referencing a PipeFeatureInput object.

# Get the value of the property.
propertyValue = pipeFeatureInput_var.distanceOne

# Set the value of the property.
pipeFeatureInput_var.distanceOne = propertyValue
"pipeFeatureInput_var" is a variable referencing a PipeFeatureInput object.
#include <Fusion/Features/PipeFeatureInput.h>

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

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

Property Value

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

Version

Introduced in version October 2023