PipeFeatureInput.distanceTwo 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 reversed path given as input. Before setting this value, distanceOne must be set.

If the path is open, getting this value returns null, and setting the value is ignored. If the path is closed, setting this value should not be higher than 1.0 - distanceOne. Ex: Path is made of curves A-B-C-A. The distanceTwo returns and sets the length of the pipe going from A-C-B-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.distanceTwo

# Set the value of the property.
pipeFeatureInput_var.distanceTwo = 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->distanceTwo();

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

Property Value

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

Version

Introduced in version October 2023