PmiDatumTargetBuilder Class

class NXOpen.Annotations.PmiDatumTargetBuilder

Bases: NXOpen.Annotations.DatumTargetBuilder

Represents a NXOpen.Annotations.PmiDatumTargetBuilder

To create a new instance of this class, use NXOpen.Annotations.AnnotationManager.CreatePmiDatumTargetBuilder()

Default values.

Property Value
Height.Value 10 (millimeters part), 1 (inches part)
InnerDiameter.Value 1 (millimeters part), .1 (inches part)
OuterDiameter.Value 10 (millimeters part), 1 (inches part)
Width.Value 10 (millimeters part), 1 (inches part)

New in version NX6.0.0.

Properties

Property Description
AreaSize Returns or sets the area size
AssociatedObjects Returns the associated objects
DatumTargetStandard Returns or sets the datum target standard.
DrawX Returns or sets the draw x
Height Returns the height
Index Returns or sets the index
InnerDiameter Returns the inner diameter
Label Returns or sets the label
Leader Returns the NXOpen.Annotations.LeaderBuilder for the annotation
Movable Returns or sets the flag that indicates movable .
MovableModifierAngle Returns the movable modifier angle
Origin Returns the origin
OuterDiameter Returns the outer diameter
RegionSelection Returns the region selection
Style Returns the style
Tag Returns the Tag for this object.
TerminatorType Returns or sets the terminator type
Type Returns or sets the type
Width Returns the width

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
InheritFrom The datum target is inherited form existing datum target.
ReverseMovableModifier Reverses the Movable datum target direction by 180 degree
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

AssociatedObjects

PmiDatumTargetBuilder.AssociatedObjects

Returns the associated objects

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

Getter Method

Signature AssociatedObjects

Returns:
Return type:NXOpen.Annotations.AssociatedObjectsBuilder

New in version NX6.0.0.

License requirements: None.

RegionSelection

PmiDatumTargetBuilder.RegionSelection

Returns the region selection

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

Getter Method

Signature RegionSelection

Returns:
Return type:NXOpen.SelectDisplayableObject

New in version NX6.0.0.

License requirements: None.

Method Detail

Validate

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