DraftPointData Class

class NXOpen.GeometricUtilities.DraftPointData

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a draft point data object

To create an instance of this class, see DraftPointDataCollection.CreateDraftPointData()

New in version NX4.0.0.

Properties

Property Description
Parameter Returns or sets the point coordinates
Tag Returns the Tag for this object.

Methods

Method Description
GetAngle Returns the Angle value
SetAngle Sets the Angle value
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

Parameter

DraftPointData.Parameter

Returns or sets the point coordinates

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

Getter Method

Signature Parameter

Returns:
Return type:float

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

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

Setter Method

Signature Parameter

Parameters:parameter (float) –

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Method Detail

GetAngle

DraftPointData.GetAngle

Returns the Angle value

Signature GetAngle()

Returns:Angle Expression Object
Return type:NXOpen.Expression

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

SetAngle

DraftPointData.SetAngle

Sets the Angle value

Signature SetAngle(angle)

Parameters:angle (str) – Angle string value

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Validate

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