NX Open C++ Reference Guide
|
Represents a InferredConstraintsBuilder
To create a new instance of this class, use SketchCollection::CreateInferredConstraintsBuilder
Created in NX5.0.0.
More...
Public Member Functions | |
bool | Coincident () |
Returns the coincident infer-constraint setting. | |
bool | Collinear () |
Returns the collinear infer-constraint setting. | |
bool | Concentric () |
Returns the concentric infer-constraint setting. | |
bool | DimensionalConstraint () |
Returns the dimensional constraint infer-constraint setting. | |
bool | EqualLength () |
Returns the equal length infer-constraint setting. | |
bool | EqualRadius () |
Returns the equal radius infer-constraint setting. | |
std::vector < NXOpen::Sketch::AutoDimensioningRule > | GetRules () |
Get the auto dimensioning rule list into an array. | |
bool | Horizontal () |
Returns the horizontal infer-constraint setting. | |
bool | Midpoint () |
Returns the midpoint infer-constraint setting. | |
bool | Parallel () |
Returns the parallel infer-constraint setting. | |
bool | Perpendicular () |
Returns the perpendicular infer-constraint setting. | |
bool | PointOnCurve () |
Returns the point on curve infer-constraint setting. | |
bool | PointOnString () |
Returns the point on string infer-constraint setting. | |
void | SetCoincident (bool coincident) |
Sets the coincident infer-constraint setting. | |
void | SetCollinear (bool collinear) |
Sets the collinear infer-constraint setting. | |
void | SetConcentric (bool concentric) |
Sets the concentric infer-constraint setting. | |
void | SetDimensionalConstraint (bool dimensionalConstraint) |
Sets the dimensional constraint infer-constraint setting. | |
void | SetEqualLength (bool equalLength) |
Sets the equal length infer-constraint setting. | |
void | SetEqualRadius (bool equalRadius) |
Sets the equal radius infer-constraint setting. | |
void | SetHorizontal (bool horizontal) |
Sets the horizontal infer-constraint setting. | |
void | SetMidpoint (bool midpoint) |
Sets the midpoint infer-constraint setting. | |
void | SetParallel (bool parallel) |
Sets the parallel infer-constraint setting. | |
void | SetPerpendicular (bool perpendicular) |
Sets the perpendicular infer-constraint setting. | |
void | SetPointOnCurve (bool pointOnCurve) |
Sets the point on curve infer-constraint setting. | |
void | SetPointOnString (bool pointOnString) |
Sets the point on string infer-constraint setting. | |
void | SetRules (const std::vector< NXOpen::Sketch::AutoDimensioningRule > &rules) |
Set the auto dimensioning rule list to builder Created in NX7.5.0. | |
void | SetTangent (bool tangent) |
Sets the tangent infer-constraint setting. | |
void | SetVertical (bool vertical) |
Sets the vertical infer-constraint setting. | |
bool | Tangent () |
Returns the tangent infer-constraint setting. | |
bool | Vertical () |
Returns the vertical infer-constraint setting. | |
![]() | |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a InferredConstraintsBuilder
To create a new instance of this class, use SketchCollection::CreateInferredConstraintsBuilder
Created in NX5.0.0.
bool NXOpen::InferredConstraintsBuilder::Coincident | ( | ) |
Returns the coincident infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all coincident entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::Collinear | ( | ) |
Returns the collinear infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all collinear entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::Concentric | ( | ) |
Returns the concentric infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all concentric entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::DimensionalConstraint | ( | ) |
Returns the dimensional constraint infer-constraint setting.
If this constraint flag is switched ON, sketcher will create dimensional constraints automatically for entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::EqualLength | ( | ) |
Returns the equal length infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all entities having equal length and created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::EqualRadius | ( | ) |
Returns the equal radius infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all entities with equal radius and created after this command.
Created in NX5.0.0.
License requirements : None
std::vector<NXOpen::Sketch::AutoDimensioningRule> NXOpen::InferredConstraintsBuilder::GetRules | ( | ) |
Get the auto dimensioning rule list into an array.
bool NXOpen::InferredConstraintsBuilder::Horizontal | ( | ) |
Returns the horizontal infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all horizonal entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::Midpoint | ( | ) |
Returns the midpoint infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all midpoints created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::Parallel | ( | ) |
Returns the parallel infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all parallel entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::Perpendicular | ( | ) |
Returns the perpendicular infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all perpendicular entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::PointOnCurve | ( | ) |
Returns the point on curve infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all points on curves created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::PointOnString | ( | ) |
Returns the point on string infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all points on strings created after this command.
Created in NX5.0.0.
License requirements : None
void NXOpen::InferredConstraintsBuilder::SetCoincident | ( | bool | coincident | ) |
Sets the coincident infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all coincident entities created after this command.
Created in NX5.0.0.
License requirements : None
coincident | coincident |
void NXOpen::InferredConstraintsBuilder::SetCollinear | ( | bool | collinear | ) |
Sets the collinear infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all collinear entities created after this command.
Created in NX5.0.0.
License requirements : None
collinear | collinear |
void NXOpen::InferredConstraintsBuilder::SetConcentric | ( | bool | concentric | ) |
Sets the concentric infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all concentric entities created after this command.
Created in NX5.0.0.
License requirements : None
concentric | concentric |
void NXOpen::InferredConstraintsBuilder::SetDimensionalConstraint | ( | bool | dimensionalConstraint | ) |
Sets the dimensional constraint infer-constraint setting.
If this constraint flag is switched ON, sketcher will create dimensional constraints automatically for entities created after this command.
Created in NX5.0.0.
License requirements : None
dimensionalConstraint | dimensionalconstraint |
void NXOpen::InferredConstraintsBuilder::SetEqualLength | ( | bool | equalLength | ) |
Sets the equal length infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all entities having equal length and created after this command.
Created in NX5.0.0.
License requirements : None
equalLength | equallength |
void NXOpen::InferredConstraintsBuilder::SetEqualRadius | ( | bool | equalRadius | ) |
Sets the equal radius infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all entities with equal radius and created after this command.
Created in NX5.0.0.
License requirements : None
equalRadius | equalradius |
void NXOpen::InferredConstraintsBuilder::SetHorizontal | ( | bool | horizontal | ) |
Sets the horizontal infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all horizonal entities created after this command.
Created in NX5.0.0.
License requirements : None
horizontal | horizontal |
void NXOpen::InferredConstraintsBuilder::SetMidpoint | ( | bool | midpoint | ) |
Sets the midpoint infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all midpoints created after this command.
Created in NX5.0.0.
License requirements : None
midpoint | midpoint |
void NXOpen::InferredConstraintsBuilder::SetParallel | ( | bool | parallel | ) |
Sets the parallel infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all parallel entities created after this command.
Created in NX5.0.0.
License requirements : None
parallel | parallel |
void NXOpen::InferredConstraintsBuilder::SetPerpendicular | ( | bool | perpendicular | ) |
Sets the perpendicular infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all perpendicular entities created after this command.
Created in NX5.0.0.
License requirements : None
perpendicular | perpendicular |
void NXOpen::InferredConstraintsBuilder::SetPointOnCurve | ( | bool | pointOnCurve | ) |
Sets the point on curve infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all points on curves created after this command.
Created in NX5.0.0.
License requirements : None
pointOnCurve | pointoncurve |
void NXOpen::InferredConstraintsBuilder::SetPointOnString | ( | bool | pointOnString | ) |
Sets the point on string infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all points on strings created after this command.
Created in NX5.0.0.
License requirements : None
pointOnString | pointonstring |
void NXOpen::InferredConstraintsBuilder::SetRules | ( | const std::vector< NXOpen::Sketch::AutoDimensioningRule > & | rules | ) |
Set the auto dimensioning rule list to builder
Created in NX7.5.0.
License requirements : None
rules | Auto Dimension Rules |
void NXOpen::InferredConstraintsBuilder::SetTangent | ( | bool | tangent | ) |
Sets the tangent infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all tangent entities created after this command.
Created in NX5.0.0.
License requirements : None
tangent | tangent |
void NXOpen::InferredConstraintsBuilder::SetVertical | ( | bool | vertical | ) |
Sets the vertical infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all vertical entities created after this command.
Created in NX5.0.0.
License requirements : None
vertical | vertical |
bool NXOpen::InferredConstraintsBuilder::Tangent | ( | ) |
Returns the tangent infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all tangent entities created after this command.
Created in NX5.0.0.
License requirements : None
bool NXOpen::InferredConstraintsBuilder::Vertical | ( | ) |
Returns the vertical infer-constraint setting.
If this constraint flag is switched ON, sketcher will create this constraint automatically for all vertical entities created after this command.
Created in NX5.0.0.
License requirements : None