GeneralPattern Class

class NXOpen.GeometricUtilities.GeneralPattern

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

the 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 FromLocationCsys2d

Returns:
Return type:NXOpen.SelectNXObject

New in version NX8.0.0.

License requirements: None.

FromLocationCsys3d

GeneralPattern.FromLocationCsys3d

Returns or sets the from location 3d csys

-------------------------------------

Getter Method

Signature FromLocationCsys3d

Returns:
Return type:NXOpen.CoordinateSystem

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FromLocationCsys3d

Parameters: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 FromLocationPoint

Returns:
Return type:NXOpen.Point

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FromLocationPoint

Parameters: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 FromLocationType

Returns:
Return type:NXOpen.GeometricUtilities.GeneralPatternFromLocationOptions

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FromLocationType

Parameters: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 ToCsysList

Returns:
Return type:NXOpen.SelectCoordinateSystemList

New in version NX8.0.0.

License requirements: None.

ToPoints

GeneralPattern.ToPoints

Returns the to points

-------------------------------------

Getter Method

Signature ToPoints

Returns:
Return type:NXOpen.Section

New 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.