PathLengthAnnotationBuilder Class¶
-
class
NXOpen.Formboard.PathLengthAnnotationBuilder¶ Bases:
NXOpen.BuilderTODO Class documentation
To create a new instance of this class, use
NXOpen.Formboard.FormboardManager.CreatePathLengthAnnotationBuilder()Default values.
Property Value ShowLeadersToggle 0 Text.TextBlock.CustomSymbolScale 1.0 Text.TextBlock.SymbolAspectRatio 1.0 Text.TextBlock.SymbolHeight 25.4 (millimeters part), 1.0 (inches part) Text.TextBlock.SymbolLength 25.4 (millimeters part), 1.0 (inches part) Text.TextBlock.SymbolPreferences UseCurrent Text.TextBlock.SymbolScale 1.0 Text.TextBlock.SymbolSizeMethod ScaleAndAspectRatio New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| ExpressionName | Returns the expression name |
| FirstEndPoint | Returns or sets the first end point |
| Leader | Returns the leader |
| Origin | Returns the origin |
| RouteObjectCollector | Returns the route object collector |
| SecondEndPoint | Returns or sets the second end point |
| ShowLeadersToggle | Returns or sets the show leaders toggle |
| Style | Returns the style |
| Tag | Returns the Tag for this object. |
| Text | Returns the u icomp text with symbols0 |
| Type | Returns or sets the type |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CreatePointsAtRcps | Create builder end points at the RCP locations |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| SetPathLengthAnnotationEndPoints | Create and initialize the Path Length Annotation |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| PathLengthAnnotationBuilderTypes Enumeration | TODO: Document the whole type |
Property Detail¶
ExpressionName¶
-
PathLengthAnnotationBuilder.ExpressionName¶ Returns the expression name
-------------------------------------Getter Method
Signature
ExpressionNameReturns: Return type: str New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
FirstEndPoint¶
-
PathLengthAnnotationBuilder.FirstEndPoint¶ Returns or sets the first end point
-------------------------------------Getter Method
Signature
FirstEndPointReturns: Return type: NXOpen.PointNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
FirstEndPointParameters: firstEndPoint ( NXOpen.Point) –New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Leader¶
-
PathLengthAnnotationBuilder.Leader¶ Returns the leader
-------------------------------------Getter Method
Signature
LeaderReturns: Return type: NXOpen.Annotations.LeaderBuilderNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Origin¶
-
PathLengthAnnotationBuilder.Origin¶ Returns the origin
-------------------------------------Getter Method
Signature
OriginReturns: Return type: NXOpen.Annotations.OriginBuilderNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
RouteObjectCollector¶
-
PathLengthAnnotationBuilder.RouteObjectCollector¶ Returns the route object collector
-------------------------------------Getter Method
Signature
RouteObjectCollectorReturns: Return type: NXOpen.Routing.RouteObjectCollectorNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
SecondEndPoint¶
-
PathLengthAnnotationBuilder.SecondEndPoint¶ Returns or sets the second end point
-------------------------------------Getter Method
Signature
SecondEndPointReturns: Return type: NXOpen.PointNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
SecondEndPointParameters: secondEndPoint ( NXOpen.Point) –New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
ShowLeadersToggle¶
-
PathLengthAnnotationBuilder.ShowLeadersToggle¶ Returns or sets the show leaders toggle
-------------------------------------Getter Method
Signature
ShowLeadersToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
ShowLeadersToggleParameters: showLeadersToggle (bool) – New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Style¶
-
PathLengthAnnotationBuilder.Style¶ Returns the style
-------------------------------------Getter Method
Signature
StyleReturns: Return type: NXOpen.Annotations.StyleBuilderNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Text¶
-
PathLengthAnnotationBuilder.Text¶ Returns the u icomp text with symbols0
-------------------------------------Getter Method
Signature
TextReturns: Return type: NXOpen.Annotations.TextWithEditControlsBuilderNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Type¶
-
PathLengthAnnotationBuilder.Type¶ Returns or sets the type
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Formboard.PathLengthAnnotationBuilderTypesNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Formboard.PathLengthAnnotationBuilderTypes) –New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Method Detail¶
CreatePointsAtRcps¶
-
PathLengthAnnotationBuilder.CreatePointsAtRcps¶ Create builder end points at the RCP locations
Signature
CreatePointsAtRcps(firstEndRcp, secondEndRcp)Parameters: - firstEndRcp (
NXOpen.Routing.ControlPoint) – First Routing control point - secondEndRcp (
NXOpen.Routing.ControlPoint) – Second Routing control point
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
- firstEndRcp (
SetPathLengthAnnotationEndPoints¶
-
PathLengthAnnotationBuilder.SetPathLengthAnnotationEndPoints¶ Create and initialize the Path Length Annotation
Signature
SetPathLengthAnnotationEndPoints(firstEndPoint, secondEndPoint)Parameters: - firstEndPoint (
NXOpen.Point) – First end point for the path length annotation - secondEndPoint (
NXOpen.Point) – Second end point for the path length annotation
New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
- firstEndPoint (
Validate¶
-
PathLengthAnnotationBuilder.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.