HoleFeature.setDistanceExtent Method
Parent Object:
HoleFeatureDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/HoleFeature.h>
Description
Defines the depth of the hole using a specific distance.
To use this method, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)
Syntax
"holeFeature_var" is a variable referencing a HoleFeature object.returnValue = holeFeature_var.setDistanceExtent(distance)
|
"holeFeature_var" is a variable referencing a HoleFeature object.
#include <Fusion/Features/HoleFeature.h>
returnValue = holeFeature_var->setDistanceExtent(distance);
|
Return Value
boolean |
Returns true if setting the extent was successful. |
Parameters
distance |
ValueInput |
The depth of the hole. If a real is specified the value is in centimeters. If a string is specified the units are derived from the string. If no units are specified, the default units of the document are used. |
Version
Introduced in version August 2014