NX Open C++ Reference Guide
|
Represents a NXOpen::SketchConstraint builder
To create a new instance of this class, use NXOpen::SketchCollection::CreateConstraintBuilder
Created in NX8.5.0.
More...
Public Member Functions | |
NXOpen::SelectNXObject * | Centerline () |
Returns the centerline for a symmetric constraint type Created in NX8.5.0. More... | |
NXOpen::SketchConstraintBuilder::Constraint | ConstraintType () |
Returns the constraint type Created in NX8.5.0. More... | |
NXOpen::SelectNXObjectList * | GeometryToConstrain () |
Returns the geometries to be constrained Created in NX8.5.0. More... | |
NXOpen::SelectNXObject * | GeometryToConstrainTo () |
Returns the secondary geometries to be constrained Created in NX8.5.0. More... | |
bool | MakeReference () |
Returns the flag specifying whether or not to make the centerline reference geometry Created in NX8.5.0. More... | |
void | SetConstraintType (NXOpen::SketchConstraintBuilder::Constraint constraintType) |
Sets the constraint type Created in NX8.5.0. More... | |
void | SetMakeReference (bool makeReference) |
Sets the flag specifying whether or not to make the centerline reference geometry Created in NX8.5.0. More... | |
void | SetUpdateSketchAtCommit (bool updateSketch) |
Sets the flag specifying whether or not to update the sketch during the builder commit. More... | |
bool | UpdateSketchAtCommit () |
Returns the flag specifying whether or not to update the sketch during the builder commit. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a NXOpen::SketchConstraint builder
To create a new instance of this class, use NXOpen::SketchCollection::CreateConstraintBuilder
Created in NX8.5.0.
the types of the constraint
NXOpen::SelectNXObject* NXOpen::SketchConstraintBuilder::Centerline | ( | ) |
Returns the centerline for a symmetric constraint type
Created in NX8.5.0.
License requirements : None
NXOpen::SketchConstraintBuilder::Constraint NXOpen::SketchConstraintBuilder::ConstraintType | ( | ) |
Returns the constraint type
Created in NX8.5.0.
License requirements : None
NXOpen::SelectNXObjectList* NXOpen::SketchConstraintBuilder::GeometryToConstrain | ( | ) |
Returns the geometries to be constrained
Created in NX8.5.0.
License requirements : None
NXOpen::SelectNXObject* NXOpen::SketchConstraintBuilder::GeometryToConstrainTo | ( | ) |
Returns the secondary geometries to be constrained
Created in NX8.5.0.
License requirements : None
bool NXOpen::SketchConstraintBuilder::MakeReference | ( | ) |
Returns the flag specifying whether or not to make the centerline reference geometry
Created in NX8.5.0.
License requirements : None
void NXOpen::SketchConstraintBuilder::SetConstraintType | ( | NXOpen::SketchConstraintBuilder::Constraint | constraintType | ) |
Sets the constraint type
Created in NX8.5.0.
License requirements : None
constraintType | constrainttype |
void NXOpen::SketchConstraintBuilder::SetMakeReference | ( | bool | makeReference | ) |
Sets the flag specifying whether or not to make the centerline reference geometry
Created in NX8.5.0.
License requirements : None
makeReference | makereference |
void NXOpen::SketchConstraintBuilder::SetUpdateSketchAtCommit | ( | bool | updateSketch | ) |
Sets the flag specifying whether or not to update the sketch during the builder commit.
The default value is true. If the value is set to false, the sketch will not update during the builder commit.
Created in NX11.0.0.
License requirements : None
updateSketch | updatesketch |
bool NXOpen::SketchConstraintBuilder::UpdateSketchAtCommit | ( | ) |
Returns the flag specifying whether or not to update the sketch during the builder commit.
The default value is true. If the value is set to false, the sketch will not update during the builder commit.
Created in NX11.0.0.
License requirements : None