Method GetDrillingTappedHolePrimitive
GetDrillingTappedHolePrimitive(ElementId, int, out DrillingHolePrimitiveBottomType, out Real, out Real, out Real, out Real, out Real, out bool, out bool, out bool, out Real, out Real, out Real, out DrillingTappedHolePrimitiveThreadType)
Get a drilling tapped hole primitive information.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 14, 0, 0)]
void GetDrillingTappedHolePrimitive(ElementId inFeatureId, int inIndex, out DrillingHolePrimitiveBottomType bottomType, out Real bottomAngle, out Real depth, out Real gaugeLength, out Real holeDepth, out Real holeDiameter, out bool isLeftHand, out bool isTaperedThread, out bool isThrough, out Real nominalDiameter, out Real pitch, out Real taperAngle, out DrillingTappedHolePrimitiveThreadType threadType)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inFeatureId | Identifiers of the element of the primitive to analyse. |
| int | inIndex | Idex of the primitive to analyse. |
| DrillingHolePrimitiveBottomType | bottomType | Type of the drilling primitive, or None if the primitive is not a drilling hole primitive. |
| Real | bottomAngle | Bottom angle of the tapped hole primitive. |
| Real | depth | Detph of the tapped hole primitive. |
| Real | gaugeLength | Gauge length of the tapped hole primitive. |
| Real | holeDepth | Hole depth of the tapped hole primitive. |
| Real | holeDiameter | Hole diameter of the tapped hole primitive. |
| bool | isLeftHand | Tells wether the tapped hole primitive is left hand. |
| bool | isTaperedThread | Tells wether the tapped hole primitive is tapered thread. |
| bool | isThrough | Tells wether the tapped hole primitive is through. |
| Real | nominalDiameter | Nominal diameter of the tapped hole primitive. |
| Real | pitch | Pitch of the tapped hole primitive. |
| Real | taperAngle | Taper angle of the tapped hole primitive. |
| DrillingTappedHolePrimitiveThreadType | threadType | Type of the thread, or None if the primitive is not a drilling tapped hole primitive. |
Remarks
This method is available since v7.14.