LayoutLengthOptions Class¶
-
class
NXOpen.Formboard.LayoutLengthOptions¶ Bases:
NXOpen.BuilderDefines the various options for determining the rounded lengths of formboard geometry during the layout or update process.
Created automatically by containing classes.
New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| NetlistLengthIncrement | Returns the connection list length increment. |
| NetlistRoundingMethod | Returns or sets the rounding method to apply to Connection List lengths. |
| OverstockLengthIncrement | Returns the overstock length increment. |
| OverstockRoundingMethod | Returns or sets the rounding method to apply to overstock wrapped lengths. |
| SegmentLengthIncrement | Returns the segment length increment. |
| SegmentRoundingMethod | Returns or sets the rounding method to apply to segment lengths. |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| 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. |
| 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¶
| LayoutLengthOptionsRoundingMethod Enumeration | Methods of rounding lengths for Formboard geometry. |
Property Detail¶
NetlistLengthIncrement¶
-
LayoutLengthOptions.NetlistLengthIncrement¶ Returns the connection list length increment.
Only used when the
Formboard.LayoutLengthOptions.NetlistRoundingMethod`()isFormboard.LayoutLengthOptionsRoundingMethod.UpToNearestorFormboard.LayoutLengthOptionsRoundingMethod.DownToNearest.-------------------------------------Getter Method
Signature
NetlistLengthIncrementReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
NetlistRoundingMethod¶
-
LayoutLengthOptions.NetlistRoundingMethod¶ Returns or sets the rounding method to apply to Connection List lengths.
-------------------------------------Getter Method
Signature
NetlistRoundingMethodReturns: Return type: NXOpen.Formboard.LayoutLengthOptionsRoundingMethodNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
NetlistRoundingMethodParameters: netlistRoundingMethod ( NXOpen.Formboard.LayoutLengthOptionsRoundingMethod) –New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
OverstockLengthIncrement¶
-
LayoutLengthOptions.OverstockLengthIncrement¶ Returns the overstock length increment.
Only used when the
Formboard.LayoutLengthOptions.OverstockRoundingMethod`()isFormboard.LayoutLengthOptionsRoundingMethod.UpToNearestorFormboard.LayoutLengthOptionsRoundingMethod.DownToNearest.-------------------------------------Getter Method
Signature
OverstockLengthIncrementReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
OverstockRoundingMethod¶
-
LayoutLengthOptions.OverstockRoundingMethod¶ Returns or sets the rounding method to apply to overstock wrapped lengths.
-------------------------------------Getter Method
Signature
OverstockRoundingMethodReturns: Return type: NXOpen.Formboard.LayoutLengthOptionsRoundingMethodNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
OverstockRoundingMethodParameters: overstockRoundingMethod ( NXOpen.Formboard.LayoutLengthOptionsRoundingMethod) –New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
SegmentLengthIncrement¶
-
LayoutLengthOptions.SegmentLengthIncrement¶ Returns the segment length increment.
Only used when the
Formboard.LayoutLengthOptions.SegmentRoundingMethod`()isFormboard.LayoutLengthOptionsRoundingMethod.UpToNearestorFormboard.LayoutLengthOptionsRoundingMethod.DownToNearest.-------------------------------------Getter Method
Signature
SegmentLengthIncrementReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
SegmentRoundingMethod¶
-
LayoutLengthOptions.SegmentRoundingMethod¶ Returns or sets the rounding method to apply to segment lengths.
-------------------------------------Getter Method
Signature
SegmentRoundingMethodReturns: Return type: NXOpen.Formboard.LayoutLengthOptionsRoundingMethodNew in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
-------------------------------------Setter Method
Signature
SegmentRoundingMethodParameters: segmentRoundingMethod ( NXOpen.Formboard.LayoutLengthOptionsRoundingMethod) –New in version NX7.5.0.
License requirements: routing_harness (“Routing Harness”)
Method Detail¶
Validate¶
-
LayoutLengthOptions.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.