AssociativeAngleBuilder Class¶
-
class
NXOpen.Drawings.AssociativeAngleBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderThis builder allows the user to create an associative or non-associative angle by measuring between a combination of two objects or vectors evaluated on a specified plane, or by an expression
New in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| Angle | Returns the angle |
| AngleValue | Returns or sets the angle value |
| Associative | Returns or sets the associative flag |
| EvaluationPlane | Returns or sets the evaluation plane type |
| FirstMapView | Returns or sets the first map view |
| FirstObject | Returns the first object |
| FirstObjectType | Returns or sets the first object type |
| FirstVector | Returns or sets the first vector |
| Plane | Returns or sets the plane |
| ScalarObject | Returns or sets the scalar object |
| SecondMapView | Returns or sets the second map view |
| SecondObject | Returns the second object |
| SecondObjectType | Returns or sets the second object type |
| SecondVector | Returns or sets the second vector |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| AlternateAngle | The alternate angle |
| CreateScalarObject | Creates a scalar object for an associative angle |
| CreateScalarObjectFromData | Creates scalar object for an associative angle using data from existing scalar object or angle value. |
| SetIsMeasure | Sets IsMeasure flag indicating angle is result of a measure |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| AssociativeAngleBuilderEvaluationPlaneType Enumeration | evaluation plane types |
| AssociativeAngleBuilderObjectType Enumeration | Represents the object type. |
Property Detail¶
Angle¶
-
AssociativeAngleBuilder.Angle¶ Returns the angle
-------------------------------------Getter Method
Signature
AngleReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: None.
AngleValue¶
-
AssociativeAngleBuilder.AngleValue¶ Returns or sets the angle value
-------------------------------------Getter Method
Signature
AngleValueReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleValueParameters: angleValue (float) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
Associative¶
-
AssociativeAngleBuilder.Associative¶ Returns or sets the associative flag
-------------------------------------Getter Method
Signature
AssociativeReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AssociativeParameters: associative (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
EvaluationPlane¶
-
AssociativeAngleBuilder.EvaluationPlane¶ Returns or sets the evaluation plane type
-------------------------------------Getter Method
Signature
EvaluationPlaneReturns: Return type: NXOpen.Drawings.AssociativeAngleBuilderEvaluationPlaneTypeNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EvaluationPlaneParameters: evaluationPlane ( NXOpen.Drawings.AssociativeAngleBuilderEvaluationPlaneType) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
FirstMapView¶
-
AssociativeAngleBuilder.FirstMapView¶ Returns or sets the first map view
-------------------------------------Getter Method
Signature
FirstMapViewReturns: Return type: NXOpen.ViewNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FirstMapViewParameters: firstMapView ( NXOpen.View) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
FirstObject¶
-
AssociativeAngleBuilder.FirstObject¶ Returns the first object
-------------------------------------Getter Method
Signature
FirstObjectReturns: Return type: NXOpen.SelectNXObjectNew in version NX11.0.0.
License requirements: None.
FirstObjectType¶
-
AssociativeAngleBuilder.FirstObjectType¶ Returns or sets the first object type
-------------------------------------Getter Method
Signature
FirstObjectTypeReturns: Return type: NXOpen.Drawings.AssociativeAngleBuilderObjectTypeNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FirstObjectTypeParameters: objtype ( NXOpen.Drawings.AssociativeAngleBuilderObjectType) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
FirstVector¶
-
AssociativeAngleBuilder.FirstVector¶ Returns or sets the first vector
-------------------------------------Getter Method
Signature
FirstVectorReturns: Return type: NXOpen.DirectionNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FirstVectorParameters: firstVector ( NXOpen.Direction) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
Plane¶
-
AssociativeAngleBuilder.Plane¶ Returns or sets the plane
-------------------------------------Getter Method
Signature
PlaneReturns: Return type: NXOpen.PlaneNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PlaneParameters: plane ( NXOpen.Plane) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
ScalarObject¶
-
AssociativeAngleBuilder.ScalarObject¶ Returns or sets the scalar object
-------------------------------------Getter Method
Signature
ScalarObjectReturns: Return type: NXOpen.ScalarNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScalarObjectParameters: scalarObject ( NXOpen.Scalar) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
SecondMapView¶
-
AssociativeAngleBuilder.SecondMapView¶ Returns or sets the second map view
-------------------------------------Getter Method
Signature
SecondMapViewReturns: Return type: NXOpen.ViewNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SecondMapViewParameters: secondMapView ( NXOpen.View) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
SecondObject¶
-
AssociativeAngleBuilder.SecondObject¶ Returns the second object
-------------------------------------Getter Method
Signature
SecondObjectReturns: Return type: NXOpen.SelectNXObjectNew in version NX11.0.0.
License requirements: None.
SecondObjectType¶
-
AssociativeAngleBuilder.SecondObjectType¶ Returns or sets the second object type
-------------------------------------Getter Method
Signature
SecondObjectTypeReturns: Return type: NXOpen.Drawings.AssociativeAngleBuilderObjectTypeNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SecondObjectTypeParameters: objtype ( NXOpen.Drawings.AssociativeAngleBuilderObjectType) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
SecondVector¶
-
AssociativeAngleBuilder.SecondVector¶ Returns or sets the second vector
-------------------------------------Getter Method
Signature
SecondVectorReturns: Return type: NXOpen.DirectionNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SecondVectorParameters: secondVector ( NXOpen.Direction) –New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
AlternateAngle¶
-
AssociativeAngleBuilder.AlternateAngle¶ The alternate angle
Signature
AlternateAngle()New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
CreateScalarObject¶
-
AssociativeAngleBuilder.CreateScalarObject¶ Creates a scalar object for an associative angle
Signature
CreateScalarObject()New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
CreateScalarObjectFromData¶
-
AssociativeAngleBuilder.CreateScalarObjectFromData¶ Creates scalar object for an associative angle using data from existing scalar object or angle value.
Signature
CreateScalarObjectFromData(scalarTag, angleValue)Parameters: - scalarTag (
NXOpen.Scalar) – - angleValue (float) –
New in version NX11.0.2.
License requirements: drafting (“DRAFTING”)
- scalarTag (
SetIsMeasure¶
-
AssociativeAngleBuilder.SetIsMeasure¶ Sets IsMeasure flag indicating angle is result of a measure
Signature
SetIsMeasure(isMeasure)Parameters: isMeasure (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
Validate¶
-
AssociativeAngleBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.