RectangularPattern Class¶
-
class
NXOpen.GeometricUtilities.RectangularPattern¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderthe rectangular pattern definition.
Allows specification along two linear axes, which may or may not be orthogonal. .. versionadded:: NX7.5.0
Properties¶
| Property | Description |
|---|---|
| CreateLastStaggered | Returns or sets the option to generate the last item in a staggered row. |
| HorizontalRef | Returns the horizontal reference |
| SimplifiedLayoutType | Returns or sets the simplified layout type to be used by the pattern |
| StaggerType | Returns or sets the type of stagger to be used by the pattern |
| Tag | Returns the Tag for this object. |
| UseYDirectionToggle | Returns or sets the UseYDirection toggle attribute. |
| XDirection | Returns or sets the x axis |
| XFlip | Returns or sets the XSelection flip attribute. |
| XSelection | Returns the direction object. |
| XSpacing | Returns the instance spacing along the x axis |
| XSymmetryToggle | Returns or sets the XSymmetry toggle attribute. |
| YDirection | Returns or sets the y axis, which can be any vector not parallel to the x axis |
| YFlip | Returns or sets the YSelection flip attribute. |
| YSelection | Returns the direction object. |
| YSpacing | Returns the instance spacing along the y axis |
| YSymmetryToggle | Returns or sets the YSymmetry toggle attribute. |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| RectangularPatternSimplifiedLayoutTypes Enumeration | defines simplified layout type for linear pattern. |
| RectangularPatternStaggerOptions Enumeration | defines any stagger to be defined on the pattern. |
Property Detail¶
CreateLastStaggered¶
-
RectangularPattern.CreateLastStaggered¶ Returns or sets the option to generate the last item in a staggered row.
If ‘true’ the pattern will be narrower on rows that have been staggered.
-------------------------------------Getter Method
Signature
CreateLastStaggeredReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CreateLastStaggeredParameters: create (bool) – New in version NX7.5.0.
License requirements: None.
HorizontalRef¶
-
RectangularPattern.HorizontalRef¶ Returns the horizontal reference
-------------------------------------Getter Method
Signature
HorizontalRefReturns: Return type: NXOpen.GeometricUtilities.HorizontalReferenceNew in version NX8.0.0.
License requirements: None.
SimplifiedLayoutType¶
-
RectangularPattern.SimplifiedLayoutType¶ Returns or sets the simplified layout type to be used by the pattern
-------------------------------------Getter Method
Signature
SimplifiedLayoutTypeReturns: Return type: NXOpen.GeometricUtilities.RectangularPatternSimplifiedLayoutTypesNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SimplifiedLayoutTypeParameters: type ( NXOpen.GeometricUtilities.RectangularPatternSimplifiedLayoutTypes) –New in version NX8.0.0.
License requirements: None.
StaggerType¶
-
RectangularPattern.StaggerType¶ Returns or sets the type of stagger to be used by the pattern
-------------------------------------Getter Method
Signature
StaggerTypeReturns: Return type: NXOpen.GeometricUtilities.RectangularPatternStaggerOptionsNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StaggerTypeParameters: spaceType ( NXOpen.GeometricUtilities.RectangularPatternStaggerOptions) –New in version NX7.5.0.
License requirements: None.
UseYDirectionToggle¶
-
RectangularPattern.UseYDirectionToggle¶ Returns or sets the UseYDirection toggle attribute.
This function gets the UseYDirection toggle value
-------------------------------------Getter Method
Signature
UseYDirectionToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UseYDirectionToggleParameters: toggle (bool) – New in version NX7.5.0.
License requirements: None.
XDirection¶
-
RectangularPattern.XDirection¶ Returns or sets the x axis
-------------------------------------Getter Method
Signature
XDirectionReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
XDirectionParameters: xDirection ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: None.
XFlip¶
-
RectangularPattern.XFlip¶ Returns or sets the XSelection flip attribute.
This function flips X selection object of the 2D pattern
-------------------------------------Getter Method
Signature
XFlipReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
XFlipParameters: flip (bool) – New in version NX7.5.0.
License requirements: None.
XSelection¶
-
RectangularPattern.XSelection¶ Returns the direction object.
This function gets X direction object of the 2D pattern. This call will result in an Exception if not called in 2D mode.
-------------------------------------Getter Method
Signature
XSelectionReturns: Return type: NXOpen.SelectNXObjectNew in version NX7.5.0.
License requirements: None.
XSpacing¶
-
RectangularPattern.XSpacing¶ Returns the instance spacing along the x axis
-------------------------------------Getter Method
Signature
XSpacingReturns: Return type: NXOpen.GeometricUtilities.DistancePatternSpacingNew in version NX7.5.0.
License requirements: None.
XSymmetryToggle¶
-
RectangularPattern.XSymmetryToggle¶ Returns or sets the XSymmetry toggle attribute.
This function gets the x Symmetry toggle value
-------------------------------------Getter Method
Signature
XSymmetryToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
XSymmetryToggleParameters: toggle (bool) – New in version NX7.5.0.
License requirements: None.
YDirection¶
-
RectangularPattern.YDirection¶ Returns or sets the y axis, which can be any vector not parallel to the x axis
-------------------------------------Getter Method
Signature
YDirectionReturns: Return type: NXOpen.DirectionNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
YDirectionParameters: yDirection ( NXOpen.Direction) –New in version NX7.5.0.
License requirements: None.
YFlip¶
-
RectangularPattern.YFlip¶ Returns or sets the YSelection flip attribute.
This function flips Y selection object of the 2D pattern
-------------------------------------Getter Method
Signature
YFlipReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
YFlipParameters: flip (bool) – New in version NX7.5.0.
License requirements: None.
YSelection¶
-
RectangularPattern.YSelection¶ Returns the direction object.
This function gets Y direction object of the 2D pattern. This call will result in an Exception if not called in 2D mode.
-------------------------------------Getter Method
Signature
YSelectionReturns: Return type: NXOpen.SelectNXObjectNew in version NX7.5.0.
License requirements: None.
YSpacing¶
-
RectangularPattern.YSpacing¶ Returns the instance spacing along the y axis
-------------------------------------Getter Method
Signature
YSpacingReturns: Return type: NXOpen.GeometricUtilities.DistancePatternSpacingNew in version NX7.5.0.
License requirements: None.
YSymmetryToggle¶
-
RectangularPattern.YSymmetryToggle¶ Returns or sets the YSymmetry toggle attribute.
This function gets the y Symmetry toggle value
-------------------------------------Getter Method
Signature
YSymmetryToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
YSymmetryToggleParameters: toggle (bool) – New in version NX7.5.0.
License requirements: None.
Method Detail¶
Validate¶
-
RectangularPattern.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.