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

Represents a constraint that specifies the location of a NXOpen::Features::DatumFeature . More...

Inheritance diagram for NXOpen::DatumConstraint:
NXOpen::TransientObject

Public Types

enum  CurveOption { CurveOptionDistance, CurveOptionPercent }
 Specifies the distance on the curve as absolute distance or relative distance as percentage. More...
 
enum  Solution {
  SolutionUndefined, SolutionTangent, SolutionNormal, SolutionBinormal,
  SolutionOppositeTangent, SolutionOppositeNormal, SolutionOppositeBinormal, SolutionProject
}
 Specifies the alternate solution for datum axis using point on curve method. More...
 
enum  Type {
  TypeUndefined, TypeCoincident, TypeParallel, TypePerpendicular,
  TypeCenter, TypeTangent, TypeDistance, TypeAngle,
  TypeFrenet
}
 Specifies different constraint types for selected geometries. More...
 

Public Member Functions

NXOpen::DatumConstraint::Solution AlternateSolution ()
 Returns
Created in NX4.0.0. More...
 
NXOpen::ExpressionArcLength ()
 Returns
Created in NX4.0.0. More...
 
NXOpen::DatumConstraint::CurveOption ArcLengthType ()
 Returns
Created in NX4.0.0. More...
 
NXOpen::DatumConstraint::Type ConstraintType ()
 Returns
Created in NX4.0.0. More...
 
NXOpen::DisplayableObjectGeometry ()
 Returns
Created in NX4.0.0. More...
 
void SetAlternateSolution (NXOpen::DatumConstraint::Solution solution)
 
Created in NX4.0.0. More...
 
void SetArcLength (const NXString &length)
 
Created in NX4.0.0. More...
 
void SetArcLength (const char *length)
 
Created in NX4.0.0. More...
 
void SetArcLengthType (NXOpen::DatumConstraint::CurveOption option)
 Sets
Created in NX4.0.0. More...
 
void SetConstraintType (NXOpen::DatumConstraint::Type constraintType)
 Sets
Created in NX4.0.0. More...
 
void SetGeometry (NXOpen::DisplayableObject *geometry)
 Sets
Created in NX4.0.0. More...
 
virtual ~DatumConstraint ()
 
Created in NX4.0.0. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents a constraint that specifies the location of a NXOpen::Features::DatumFeature .


To create a new instance of this class, use NXOpen::Features::DatumBuilder::CreateConstraint

Created in NX4.0.0.

Member Enumeration Documentation

Specifies the distance on the curve as absolute distance or relative distance as percentage.

Enumerator
CurveOptionDistance 

Absolute distance.

CurveOptionPercent 

Relative distance as percentage.

Specifies the alternate solution for datum axis using point on curve method.

Enumerator
SolutionUndefined 

undefined

SolutionTangent 

tangent

SolutionNormal 

normal

SolutionBinormal 

binormal

SolutionOppositeTangent 

opposite tangent

SolutionOppositeNormal 

opposite normal

SolutionOppositeBinormal 

Datum axis at opposite to binormal to curve.

SolutionProject 

This direction is calculated by projecting a point selected along a curve to a line, a datum axis, an edge of a solid, a planar face or a datum plane.

Specifies different constraint types for selected geometries.

Enumerator
TypeUndefined 

undefined

TypeCoincident 

coincident

TypeParallel 

parallel

TypePerpendicular 

perpendicular

TypeCenter 

center

TypeTangent 

tangent

TypeDistance 

distance

TypeAngle 

angle

TypeFrenet 

frenet

Constructor & Destructor Documentation

virtual NXOpen::DatumConstraint::~DatumConstraint ( )
virtual


Created in NX4.0.0.



License requirements : None

Member Function Documentation

NXOpen::DatumConstraint::Solution NXOpen::DatumConstraint::AlternateSolution ( )

Returns
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

NXOpen::Expression* NXOpen::DatumConstraint::ArcLength ( )

Returns
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

NXOpen::DatumConstraint::CurveOption NXOpen::DatumConstraint::ArcLengthType ( )

Returns
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

NXOpen::DatumConstraint::Type NXOpen::DatumConstraint::ConstraintType ( )

Returns
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

NXOpen::DisplayableObject* NXOpen::DatumConstraint::Geometry ( )

Returns
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

void NXOpen::DatumConstraint::SetAlternateSolution ( NXOpen::DatumConstraint::Solution  solution)


Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
solutionsolution
void NXOpen::DatumConstraint::SetArcLength ( const NXString length)


Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
lengthlength
void NXOpen::DatumConstraint::SetArcLength ( const char *  length)


Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
lengthlength
void NXOpen::DatumConstraint::SetArcLengthType ( NXOpen::DatumConstraint::CurveOption  option)

Sets
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
optionoption
void NXOpen::DatumConstraint::SetConstraintType ( NXOpen::DatumConstraint::Type  constraintType)

Sets
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
constraintTypeconstraint type
void NXOpen::DatumConstraint::SetGeometry ( NXOpen::DisplayableObject geometry)

Sets
Created in NX4.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
geometrygeometry

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