CircularPattern Class¶
-
class
NXOpen.GeometricUtilities.CircularPattern¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderthe circular pattern definition.
Allows specification along both the angular and radial directions. .. versionadded:: NX7.5.0
Properties¶
| Property | Description |
|---|---|
| AngularSpacing | Returns the angular spacing of the instances of the pattern |
| CenterPoint | Returns the center point object for 2D mode. |
| CreateLastStaggered | Returns or sets the option to generate the last item in a staggered row. |
| Flip | Returns or sets the flip object for 2D mode. |
| HorizontalRef | Returns the horizontal reference |
| IncludeSeedToggle | Returns or sets the IncludeSeed toggle attribute. |
| RadialSpacing | Returns the radial spacing of the instances of the pattern |
| RotationAxis | Returns or sets the rotation axis for the pattern. |
| RotationCenter | Returns or sets the rotation center for the 2d pattern. |
| StaggerType | Returns or sets the type of stagger to be used by the pattern |
| Tag | Returns the Tag for this object. |
| UseRadialDirectionToggle | Returns or sets the UseRadialDirection toggle attribute. |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| CircularPatternStaggerOptions Enumeration | defines any stagger to be defined on the pattern. |
Property Detail¶
AngularSpacing¶
-
CircularPattern.AngularSpacing¶ Returns the angular spacing of the instances of the pattern
-------------------------------------Getter Method
Signature
AngularSpacingReturns: Return type: NXOpen.GeometricUtilities.AngularPatternSpacingNew in version NX7.5.0.
License requirements: None.
CenterPoint¶
-
CircularPattern.CenterPoint¶ Returns the center point object for 2D mode.
This function gets center point object of the 2D pattern
-------------------------------------Getter Method
Signature
CenterPointReturns: Return type: NXOpen.SelectNXObjectNew in version NX7.5.0.
Deprecated since version NX8.0.0: Use
GeometricUtilities.CircularPattern.RotationCenter()instead.License requirements: None.
CreateLastStaggered¶
-
CircularPattern.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.
Flip¶
-
CircularPattern.Flip¶ Returns or sets the flip object for 2D mode.
This function gets the flip attribute of the 2D pattern.
-------------------------------------Getter Method
Signature
FlipReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FlipParameters: enabled (bool) – New in version NX7.5.0.
License requirements: None.
HorizontalRef¶
-
CircularPattern.HorizontalRef¶ Returns the horizontal reference
-------------------------------------Getter Method
Signature
HorizontalRefReturns: Return type: NXOpen.GeometricUtilities.HorizontalReferenceNew in version NX8.0.0.
License requirements: None.
IncludeSeedToggle¶
-
CircularPattern.IncludeSeedToggle¶ Returns or sets the IncludeSeed toggle attribute.
This function gets the IncludeSeed toggle value
-------------------------------------Getter Method
Signature
IncludeSeedToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IncludeSeedToggleParameters: toggle (bool) – New in version NX7.5.0.
License requirements: None.
RadialSpacing¶
-
CircularPattern.RadialSpacing¶ Returns the radial spacing of the instances of the pattern
-------------------------------------Getter Method
Signature
RadialSpacingReturns: Return type: NXOpen.GeometricUtilities.DistancePatternSpacingNew in version NX7.5.0.
License requirements: None.
RotationAxis¶
-
CircularPattern.RotationAxis¶ Returns or sets the rotation axis for the pattern.
-------------------------------------Getter Method
Signature
RotationAxisReturns: Return type: NXOpen.AxisNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RotationAxisParameters: rotationAxis ( NXOpen.Axis) –New in version NX7.5.0.
License requirements: None.
RotationCenter¶
-
CircularPattern.RotationCenter¶ Returns or sets the rotation center for the 2d pattern.
-------------------------------------Getter Method
Signature
RotationCenterReturns: Return type: NXOpen.PointNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RotationCenterParameters: rotationCenter ( NXOpen.Point) –New in version NX8.0.0.
License requirements: None.
StaggerType¶
-
CircularPattern.StaggerType¶ Returns or sets the type of stagger to be used by the pattern
-------------------------------------Getter Method
Signature
StaggerTypeReturns: Return type: NXOpen.GeometricUtilities.CircularPatternStaggerOptionsNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StaggerTypeParameters: spaceType ( NXOpen.GeometricUtilities.CircularPatternStaggerOptions) –New in version NX7.5.0.
License requirements: None.
UseRadialDirectionToggle¶
-
CircularPattern.UseRadialDirectionToggle¶ Returns or sets the UseRadialDirection toggle attribute.
This function gets the UseRadialDirection toggle value
-------------------------------------Getter Method
Signature
UseRadialDirectionToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UseRadialDirectionToggleParameters: toggle (bool) – New in version NX7.5.0.
License requirements: None.
Method Detail¶
Validate¶
-
CircularPattern.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.