SketchMakeSymmetricBuilder Class

class NXOpen.SketchMakeSymmetricBuilder

Bases: NXOpen.Builder

This class is used to add symmetric contraint to objects from a NXOpen.SketchMakeSymmetricBuilder.

To create a new instance of this class, use NXOpen.SketchCollection.CreateMakeSymmetricBuilder()

Default values.

Property Value
ConvertToReference True

New in version NX7.5.0.

Properties

Property Description
CenterLine Returns the function returns the center line of a symmetric constraint.
ConvertToReference Returns or sets the function returns the flag to indicate if the centerline needs to be converted to reference
PrimaryObject Returns the function returns the primary object of a symmetric constraint.
SecondaryObject Returns the function returns the secondary object of a symmetric constraint.
Tag Returns the Tag for this object.

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

CenterLine

SketchMakeSymmetricBuilder.CenterLine

Returns the function returns the center line of a symmetric constraint.

This must be a straight line, straight edge, datum axis or datum plane. If the centerline is line, edge or datum axis, it is not perpendicular to the sketch plane. If the centerline is datum plane, it is not parallel to the sketch plane. If an entity is selected that is not part of sketch, it will be projected on the sketch plane and the projection will be used as the center line.

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

Getter Method

Signature CenterLine

Returns:
Return type:NXOpen.SelectNXObject

New in version NX7.5.0.

License requirements: None.

ConvertToReference

SketchMakeSymmetricBuilder.ConvertToReference

Returns or sets the function returns the flag to indicate if the centerline needs to be converted to reference

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

Getter Method

Signature ConvertToReference

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature ConvertToReference

Parameters:reference (bool) –

New in version NX7.5.0.

License requirements: None.

PrimaryObject

SketchMakeSymmetricBuilder.PrimaryObject

Returns the function returns the primary object of a symmetric constraint.

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

Getter Method

Signature PrimaryObject

Returns:
Return type:NXOpen.SelectNXObject

New in version NX7.5.0.

License requirements: None.

SecondaryObject

SketchMakeSymmetricBuilder.SecondaryObject

Returns the function returns the secondary object of a symmetric constraint.

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

Getter Method

Signature SecondaryObject

Returns:
Return type:NXOpen.SelectNXObject

New in version NX7.5.0.

License requirements: None.

Method Detail

Validate

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