NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::InferredConstraintsBuilder Class Reference

Represents a NXOpen::InferredConstraintsBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateInferredConstraintsBuilder

Created in NX5.0.0. More...

Inheritance diagram for NXOpen::InferredConstraintsBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

bool Coincident ()
 Returns the coincident infer-constraint setting. More...
 
bool Collinear ()
 Returns the collinear infer-constraint setting. More...
 
bool Concentric ()
 Returns the concentric infer-constraint setting. More...
 
bool DimensionalConstraint ()
 Returns the dimensional constraint infer-constraint setting. More...
 
bool EqualLength ()
 Returns the equal length infer-constraint setting. More...
 
bool EqualRadius ()
 Returns the equal radius infer-constraint setting. More...
 
std::vector
< NXOpen::Sketch::AutoDimensioningRule
GetRules ()
 Get the auto dimensioning rule list into an array. More...
 
bool Horizontal ()
 Returns the horizontal infer-constraint setting. More...
 
bool HorizontalAlignment ()
 Returns the horizontal alignment infer-constraint setting. More...
 
bool Midpoint ()
 Returns the midpoint infer-constraint setting. More...
 
bool Parallel ()
 Returns the parallel infer-constraint setting. More...
 
bool Perpendicular ()
 Returns the perpendicular infer-constraint setting. More...
 
bool PointOnCurve ()
 Returns the point on curve infer-constraint setting. More...
 
bool PointOnString ()
 Returns the point on string infer-constraint setting. More...
 
bool PreferStringConstraints ()
 Returns the prefer string constraints setting. More...
 
void SetCoincident (bool coincident)
 Sets the coincident infer-constraint setting. More...
 
void SetCollinear (bool collinear)
 Sets the collinear infer-constraint setting. More...
 
void SetConcentric (bool concentric)
 Sets the concentric infer-constraint setting. More...
 
void SetDimensionalConstraint (bool dimensionalConstraint)
 Sets the dimensional constraint infer-constraint setting. More...
 
void SetEqualLength (bool equalLength)
 Sets the equal length infer-constraint setting. More...
 
void SetEqualRadius (bool equalRadius)
 Sets the equal radius infer-constraint setting. More...
 
void SetHorizontal (bool horizontal)
 Sets the horizontal infer-constraint setting. More...
 
void SetHorizontalAlignment (bool horizontalAlign)
 Sets the horizontal alignment infer-constraint setting. More...
 
void SetMidpoint (bool midpoint)
 Sets the midpoint infer-constraint setting. More...
 
void SetParallel (bool parallel)
 Sets the parallel infer-constraint setting. More...
 
void SetPerpendicular (bool perpendicular)
 Sets the perpendicular infer-constraint setting. More...
 
void SetPointOnCurve (bool pointOnCurve)
 Sets the point on curve infer-constraint setting. More...
 
void SetPointOnString (bool pointOnString)
 Sets the point on string infer-constraint setting. More...
 
void SetPreferStringConstraints (bool preferStringCons)
 Sets the prefer string constraints setting. More...
 
void SetRules (const std::vector< NXOpen::Sketch::AutoDimensioningRule > &rules)
 Set the auto dimensioning rule list to builder
Created in NX7.5.0. More...
 
void SetTangent (bool tangent)
 Sets the tangent infer-constraint setting. More...
 
void SetVertical (bool vertical)
 Sets the vertical infer-constraint setting. More...
 
void SetVerticalAlignment (bool verticalAlign)
 Sets the vertical alignment infer-constraint setting. More...
 
bool Tangent ()
 Returns the tangent infer-constraint setting. More...
 
bool Vertical ()
 Returns the vertical infer-constraint setting. More...
 
bool VerticalAlignment ()
 Returns the vertical alignment infer-constraint setting. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

Represents a NXOpen::InferredConstraintsBuilder
To create a new instance of this class, use NXOpen::SketchCollection::CreateInferredConstraintsBuilder

Created in NX5.0.0.


Member Function Documentation

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.

Returns

Created in NX7.5.0.

License requirements : None
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::HorizontalAlignment ( )

Returns the horizontal alignment infer-constraint setting.

If this constraint flag is switched ON, sketcher will create this constraint automatically for all horizontally aligned entities created after this command.
Created in NX11.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.

Deprecated:
Deprecated in NX11.0.0. Please use NXOpen::InferredConstraintsBuilder::PreferStringConstraints and NXOpen::InferredConstraintsBuilder::SetPreferStringConstraints


Created in NX5.0.0.

License requirements : None

bool NXOpen::InferredConstraintsBuilder::PreferStringConstraints ( )

Returns the prefer string constraints setting.

If this flag is switched ON, the sketcher will create constraint on string type constraints automatically for all point on curve, tangent, and perpendicular constraints inferred to a string of curves after this command.
Created in NX11.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

Parameters
coincidentcoincident
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

Parameters
collinearcollinear
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

Parameters
concentricconcentric
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

Parameters
dimensionalConstraintdimensionalconstraint
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

Parameters
equalLengthequallength
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

Parameters
equalRadiusequalradius
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

Parameters
horizontalhorizontal
void NXOpen::InferredConstraintsBuilder::SetHorizontalAlignment ( bool  horizontalAlign)

Sets the horizontal alignment infer-constraint setting.

If this constraint flag is switched ON, sketcher will create this constraint automatically for all horizontally aligned entities created after this command.
Created in NX11.0.0.

License requirements : None

Parameters
horizontalAlignhorizontalalign
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

Parameters
midpointmidpoint
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

Parameters
parallelparallel
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

Parameters
perpendicularperpendicular
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

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

Deprecated:
Deprecated in NX11.0.0. Please use NXOpen::InferredConstraintsBuilder::PreferStringConstraints and NXOpen::InferredConstraintsBuilder::SetPreferStringConstraints


Created in NX5.0.0.

License requirements : None

Parameters
pointOnStringpointonstring
void NXOpen::InferredConstraintsBuilder::SetPreferStringConstraints ( bool  preferStringCons)

Sets the prefer string constraints setting.

If this flag is switched ON, the sketcher will create constraint on string type constraints automatically for all point on curve, tangent, and perpendicular constraints inferred to a string of curves after this command.
Created in NX11.0.0.

License requirements : None

Parameters
preferStringConspreferstringcons
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

Parameters
rulesAuto 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

Parameters
tangenttangent
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

Parameters
verticalvertical
void NXOpen::InferredConstraintsBuilder::SetVerticalAlignment ( bool  verticalAlign)

Sets the vertical alignment infer-constraint setting.

If this constraint flag is switched ON, sketcher will create this constraint automatically for all vertically aligned entities created after this command.
Created in NX11.0.0.

License requirements : None

Parameters
verticalAlignverticalalign
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

bool NXOpen::InferredConstraintsBuilder::VerticalAlignment ( )

Returns the vertical alignment infer-constraint setting.

If this constraint flag is switched ON, sketcher will create this constraint automatically for all vertically aligned entities created after this command.
Created in NX11.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.