|
NX Open C++ Reference Guide
|
Represents a SketchConstraint builder
To create a new instance of this class, use 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. | |
| NXOpen::SketchConstraintBuilder::Constraint | ConstraintType () |
| Returns the constraint type Created in NX8.5.0. | |
| NXOpen::SelectNXObjectList * | GeometryToConstrain () |
| Returns the geometries to be constrained Created in NX8.5.0. | |
| NXOpen::SelectNXObject * | GeometryToConstrainTo () |
| Returns the secondary geometries to be constrained Created in NX8.5.0. | |
| bool | MakeReference () |
| Returns the flag specifying whether or not to make the centerline reference geometry Created in NX8.5.0. | |
| void | SetConstraintType (NXOpen::SketchConstraintBuilder::Constraint constraintType) |
| Sets the constraint type Created in NX8.5.0. | |
| void | SetMakeReference (bool makeReference) |
| Sets the flag specifying whether or not to make the centerline reference geometry Created in NX8.5.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a SketchConstraint builder
To create a new instance of this class, use 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 |