HoleFeature.setToCounterbore Method
Parent Object:
HoleFeatureDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/HoleFeature.h>
Description
Calling this method will change the hole to a counterbore hole.
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.setToCounterbore(counterboreDiameter, counterboreDepth)
|
"holeFeature_var" is a variable referencing a HoleFeature object.
#include <Fusion/Features/HoleFeature.h>
returnValue = holeFeature_var->setToCounterbore(counterboreDiameter, counterboreDepth);
|
Return Value
boolean |
Returns true if changing the hole was successful. |
Parameters
counterboreDiameter |
ValueInput |
A ValueInput object that defines the counterbore diameter. If the ValueInput uses a real then it is interpreted as centimeters. If it is a string then the units can be defined as part of the string (i.e. "3 in"). If no units are specified it is interpreted using the current default units for length. |
counterboreDepth |
ValueInput |
A ValueInput object that defines the counterbore depth. If the ValueInput uses a real then it is interpreted as centimeters. If it is a string then the units can be defined as part of the string (i.e. "3 in"). If no units are specified it is interpreted using the current default units for length. |
Version
Introduced in version August 2014