PatternReferencePointServiceBuilder Class

class NXOpen.GeometricUtilities.PatternReferencePointServiceBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Pattern Reference Point is a service which enables the employing client to compute the reference point for pattern instance locations.

The reference point can be inferred or user-selected .. versionadded:: NX9.0.0

Properties

Property Description
IsReferencePointInferred Returns or sets the reference point inferred flag.
Point Returns or sets the reference point
Tag Returns the Tag for this object.

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

IsReferencePointInferred

PatternReferencePointServiceBuilder.IsReferencePointInferred

Returns or sets the reference point inferred flag.

This flag states whether the reference point is inferred from selected entites or not. If ‘true’, the reference point will be inferred every time the selected entities get modified or updated. If ‘false’, the reference point provided by the user will be independent of the selected entities but will be associative to the rule by which it was created (e.g. End of Line, Center of Arc).

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

Getter Method

Signature IsReferencePointInferred

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature IsReferencePointInferred

Parameters:isReferencePointInferred (bool) –

New in version NX9.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

Point

PatternReferencePointServiceBuilder.Point

Returns or sets the reference point

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

Getter Method

Signature Point

Returns:
Return type:NXOpen.Point

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature Point

Parameters:point (NXOpen.Point) –

New in version NX9.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR insp_programming (“INSPECTION PROGRAMMING”)

Method Detail

Validate

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