GeneralPattern Class¶
-
class
NXOpen.GeometricUtilities.GeneralPattern¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderthe General pattern definition.
New in version NX8.0.0.
Properties¶
| Property | Description |
|---|---|
| FromLocationCsys2d | Returns the from location 2d csys |
| FromLocationCsys3d | Returns or sets the from location 3d csys |
| FromLocationPoint | Returns or sets the from location point |
| FromLocationType | Returns or sets the from location type |
| Tag | Returns the Tag for this object. |
| ToCsysList | Returns the to csys list |
| ToPoints | Returns the to points |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| GeneralPatternFromLocationOptions Enumeration | the from location options. |
Property Detail¶
FromLocationCsys2d¶
-
GeneralPattern.FromLocationCsys2d¶ Returns the from location 2d csys
-------------------------------------Getter Method
Signature
FromLocationCsys2dReturns: Return type: NXOpen.SelectNXObjectNew in version NX8.0.0.
License requirements: None.
FromLocationCsys3d¶
-
GeneralPattern.FromLocationCsys3d¶ Returns or sets the from location 3d csys
-------------------------------------Getter Method
Signature
FromLocationCsys3dReturns: Return type: NXOpen.CoordinateSystemNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FromLocationCsys3dParameters: csys ( NXOpen.CoordinateSystem) –New in version NX8.0.0.
License requirements: None.
FromLocationPoint¶
-
GeneralPattern.FromLocationPoint¶ Returns or sets the from location point
-------------------------------------Getter Method
Signature
FromLocationPointReturns: Return type: NXOpen.PointNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FromLocationPointParameters: point ( NXOpen.Point) –New in version NX8.0.0.
License requirements: None.
FromLocationType¶
-
GeneralPattern.FromLocationType¶ Returns or sets the from location type
-------------------------------------Getter Method
Signature
FromLocationTypeReturns: Return type: NXOpen.GeometricUtilities.GeneralPatternFromLocationOptionsNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FromLocationTypeParameters: fromLocationType ( NXOpen.GeometricUtilities.GeneralPatternFromLocationOptions) –New in version NX8.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ToCsysList¶
-
GeneralPattern.ToCsysList¶ Returns the to csys list
-------------------------------------Getter Method
Signature
ToCsysListReturns: Return type: NXOpen.SelectCoordinateSystemListNew in version NX8.0.0.
License requirements: None.
ToPoints¶
-
GeneralPattern.ToPoints¶ Returns the to points
-------------------------------------Getter Method
Signature
ToPointsReturns: Return type: NXOpen.SectionNew in version NX8.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
GeneralPattern.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.