NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::Features::DatumAxisBuilder类 参考

基准轴构建器 更多...

#include <Features_DatumAxisBuilder.hxx>

类 NXOpen::Features::DatumAxisBuilder 继承关系图:
NXOpen::Features::DatumBuilder NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  AlternateSolution {
  AlternateSolutionUndefined , AlternateSolutionTangent , AlternateSolutionNormal , AlternateSolutionBinormal ,
  AlternateSolutionOppositeTangent , AlternateSolutionOppositeNormal , AlternateSolutionOppositeBinormal , AlternateSolutionProject
}
enum  ConstraintType {
  ConstraintTypeUndefined , ConstraintTypeCoincident , ConstraintTypeParallel , ConstraintTypePerpendicular ,
  ConstraintTypeCenter , ConstraintTypeTangent , ConstraintTypeDistance , ConstraintTypeAngle ,
  ConstraintTypeFrenet
}
enum  CurveOption { CurveOptionDistance , CurveOptionPercent }
enum  CurveOrientations {
  CurveOrientationsTangent , CurveOrientationsNormal , CurveOrientationsBinormal , CurveOrientationsPerpendicularToObject ,
  CurveOrientationsParallelToObject
}
enum  DirectionOrientations { DirectionOrientationsParallelToVector , DirectionOrientationsPerpendicularToVector }
enum  FixedType { FixedTypeAll , FixedTypeX , FixedTypeY , FixedTypeZ }
enum  Types {
  TypesInferred , TypesIntersection , TypesCurveOrFaceAxis , TypesOnCurveVector ,
  TypesXcAxis , TypesYcAxis , TypesZcAxis , TypesPointAndDir ,
  TypesTwoPoints , TypesFixed
}
enum  UseArcLength { UseArcLengthNoPoint , UseArcLengthFirstPoint , UseArcLengthSecondPoint , UseArcLengthAllPoints }

Public 成员函数

NXOpen::Features::DatumAxisBuilder::AlternateSolution AlternateSolutionType ()
NXOpen::GeometricUtilities::OnPathDimensionBuilderArcLength ()
NXOpen::SelectICurveCurve ()
NXOpen::SelectNXObjectCurveOrFace ()
NXOpen::Features::DatumAxisBuilder::CurveOrientations CurveOrientation ()
NXOpen::Features::DatumAxisBuilder::DirectionOrientations DirectionOrientation ()
void EvaluatePath (NXOpen::Section *section)
bool IsAssociative ()
bool IsAxisReversed ()
NXOpen::SelectNXObjectObject1 ()
NXOpen::SelectNXObjectObject2 ()
NXOpen::SelectNXObjectListObjects ()
NXOpen::SelectNXObjectOrientationObject ()
NXOpen::PointPoint ()
NXOpen::PointPoint1 ()
NXOpen::PointPoint2 ()
double ResizedEndDistance ()
bool ReverseDirection ()
NXOpen::SectionSection ()
void SetAlternateSolutionType (NXOpen::Features::DatumAxisBuilder::AlternateSolution alternateSolutionType)
void SetAssociative (bool isAssociative)
void SetAxisReversed (bool isAxisReversed)
void SetCurveOrientation (NXOpen::Features::DatumAxisBuilder::CurveOrientations curveOrientation)
void SetDirectionOrientation (NXOpen::Features::DatumAxisBuilder::DirectionOrientations directionOrientation)
void SetFixedDatumAxis (NXOpen::Features::DatumAxisBuilder::FixedType type)
void SetGeometryAndConstraints (NXOpen::DisplayableObject *geometry1, NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType1, int constraintAttribute1, double constraintValue1, const char *constraint1, NXOpen::DisplayableObject *geometry2, NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType2, int constraintAttribute2, double constraintValue2, const char *constraint2, NXOpen::Sense direction)
void SetGeometryAndConstraints (NXOpen::DisplayableObject *geometry1, NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType1, int constraintAttribute1, double constraintValue1, const NXString &constraint1, NXOpen::DisplayableObject *geometry2, NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType2, int constraintAttribute2, double constraintValue2, const NXString &constraint2, NXOpen::Sense direction)
void SetPoint (NXOpen::Point *point)
void SetPoint1 (NXOpen::Point *point1)
void SetPoint2 (NXOpen::Point *point2)
void SetPointAndDirection (NXOpen::Point *point, NXOpen::Direction *direction)
void SetPointOnCurve (double arcLength, const char *constraint, NXOpen::Features::DatumAxisBuilder::AlternateSolution alternateSolution, NXOpen::Features::DatumAxisBuilder::CurveOption option, NXOpen::ICurve *curve)
void SetPointOnCurve (double arcLength, const char *constraint, NXOpen::Features::DatumAxisBuilder::CurveOption option, NXOpen::DisplayableObject *secondGeometry, NXOpen::ICurve *curve)
void SetPointOnCurve (double arcLength, const char *constraint, NXOpen::Features::DatumAxisBuilder::CurveOption option, NXOpen::ICurve *curve, NXOpen::DisplayableObject *secondGeometry)
void SetPointOnCurve (double arcLength, const NXString &constraint, NXOpen::Features::DatumAxisBuilder::AlternateSolution alternateSolution, NXOpen::Features::DatumAxisBuilder::CurveOption option, NXOpen::ICurve *curve)
void SetPointOnCurve (double arcLength, const NXString &constraint, NXOpen::Features::DatumAxisBuilder::CurveOption option, NXOpen::DisplayableObject *secondGeometry, NXOpen::ICurve *curve)
void SetPointOnCurve (double arcLength, const NXString &constraint, NXOpen::Features::DatumAxisBuilder::CurveOption option, NXOpen::ICurve *curve, NXOpen::DisplayableObject *secondGeometry)
void SetResizedEndDistance (double resizedEndDistance)
void SetReverseDirection (bool reverseDirection)
void SetTwoPoints (NXOpen::Point *point1, NXOpen::Point *point2, NXOpen::Features::DatumAxisBuilder::UseArcLength useArcLength)
void SetType (NXOpen::Features::DatumAxisBuilder::Types type)
void SetVector (NXOpen::Direction *vector)
NXOpen::Features::DatumAxisBuilder::Types Type ()
NXOpen::DirectionVector ()
Public 成员函数 继承自 NXOpen::Features::DatumBuilder
NXOpen::DatumConstraintCreateConstraint ()
std::vector< NXOpen::DatumConstraint * > GetConstraints ()
void SetConstraints (const std::vector< NXOpen::DatumConstraint * > &constraints)
Public 成员函数 继承自 NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
NXOpen::Features::FeatureGetFeature ()
void HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature)
bool ParentFeatureInternal ()
void SetParentFeatureInternal (bool isInternal)
void SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
void ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature)
void UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature)
Public 成员函数 继承自 NXOpen::Builder
NXOpen::NXObjectCommit ()
void Destroy ()
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
NXOpen::NXObjectGetObject ()
NXOpen::PreviewBuilderPreviewBuilder ()
void ShowResults ()
virtual bool Validate ()
Public 成员函数 继承自 NXOpen::TaggedObject
tag_t Tag () const

友元

class _DatumAxisBuilderBuilder

详细描述

基准轴构建器

表示基准轴特征构造器。提供通过两点、点和方向以及曲线上的点创建基准轴的方法。还提供用于创建基准轴特征的通用方法
要创建此类的新实例,请使用 NXOpen::Features::FeatureCollection::CreateDatumAxisBuilder

在 NX3.0.0 中创建。

成员枚举类型说明

◆ AlternateSolution

仅指定使用曲线上的点方法创建基准轴的备用解

枚举值
AlternateSolutionUndefined 

未定义

AlternateSolutionTangent 

表示基准轴与曲线相切

AlternateSolutionNormal 

基准轴与曲线垂直

AlternateSolutionBinormal 

基准轴与曲线副法线

AlternateSolutionOppositeTangent 

基准轴与曲线切向相反

AlternateSolutionOppositeNormal 

基准轴与曲线垂直相反

AlternateSolutionOppositeBinormal 

基准轴与曲线副法线相反

AlternateSolutionProject 

此方向通过将沿曲线选择的点投影到直线、基准轴、实体边缘、平面或基准平面来计算

◆ ConstraintType

指定所选几何图形的不同约束类型

枚举值
ConstraintTypeUndefined 

未定义

ConstraintTypeCoincident 

重合约束

ConstraintTypeParallel 

平行约束

ConstraintTypePerpendicular 

垂直约束

ConstraintTypeCenter 

中心约束

ConstraintTypeTangent 

相切约束

ConstraintTypeDistance 

距离约束

ConstraintTypeAngle 

角度约束

ConstraintTypeFrenet 

弗伦内特约束

◆ CurveOption

指定曲线上的距离为绝对距离或相对距离(百分比)

枚举值
CurveOptionDistance 

绝对距离

CurveOptionPercent 

相对距离(百分比)

◆ CurveOrientations

当基准轴类型为“曲线上的向量”时,用户可以选择的可用方位

枚举值
CurveOrientationsTangent 

方向与曲线相切

CurveOrientationsNormal 

方向与曲线垂直

CurveOrientationsBinormal 

方向与曲线副法线

CurveOrientationsPerpendicularToObject 

方向与对象垂直

CurveOrientationsParallelToObject 

方向与对象平行

◆ DirectionOrientations

当基准轴类型为“点和方向”时,用户可以选择的两种可用方向方位

枚举值
DirectionOrientationsParallelToVector 

方向平行于指定向量

DirectionOrientationsPerpendicularToVector 

方向垂直于指定向量

◆ FixedType

指定固定类型的基准轴,仅通过一个特定轴或通过所有轴。

枚举值
FixedTypeAll 

固定基准轴通过所有轴

FixedTypeX 

固定基准轴通过X轴

FixedTypeY 

固定基准轴通过Y轴

FixedTypeZ 

固定基准轴通过Z轴

◆ Types

NX5中的新基准轴类型

枚举值
TypesInferred 

推断

TypesIntersection 

对象相交处的基准轴

TypesCurveOrFaceAxis 

曲线或面轴处的基准轴

TypesOnCurveVector 

曲线上向量的基准轴

TypesXcAxis 

通过X轴的基准轴

TypesYcAxis 

通过Y轴的基准轴

TypesZcAxis 

通过Z轴的基准轴

TypesPointAndDir 

通过点并平行或垂直于方向的基准轴

TypesTwoPoints 

通过两点的基准轴

TypesFixed 

表示基准轴是固定的

◆ UseArcLength

指定要使用弧长的点。对于未选择弧长选项的点,使用弧长百分比。指定用于通过两点法创建基准轴。

枚举值
UseArcLengthNoPoint 

所有点使用弧长百分比

UseArcLengthFirstPoint 

仅第一个点使用弧长

UseArcLengthSecondPoint 

仅第二个点使用弧长

UseArcLengthAllPoints 

两个点均使用弧长

成员函数说明

◆ AlternateSolutionType()

NXOpen::Features::DatumAxisBuilder::AlternateSolution NXOpen::Features::DatumAxisBuilder::AlternateSolutionType ( )

返回备用解类型。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0。

许可证要求:无

◆ ArcLength()

NXOpen::GeometricUtilities::OnPathDimensionBuilder * NXOpen::Features::DatumAxisBuilder::ArcLength ( )

返回弧长。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0。

许可证要求:无

◆ Curve()

NXOpen::SelectICurve * NXOpen::Features::DatumAxisBuilder::Curve ( )

返回曲线或边。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0.

许可要求:无

◆ CurveOrFace()

NXOpen::SelectNXObject * NXOpen::Features::DatumAxisBuilder::CurveOrFace ( )

获取曲线或面。仅当基准轴类型为 Features::DatumAxisBuilder::TypesCurveOrFaceAxis时使用
创建于NX5.0.0。

许可要求: 无

◆ CurveOrientation()

NXOpen::Features::DatumAxisBuilder::CurveOrientations NXOpen::Features::DatumAxisBuilder::CurveOrientation ( )

返回曲线上矢量的方向。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0。

许可证要求:无

◆ DirectionOrientation()

NXOpen::Features::DatumAxisBuilder::DirectionOrientations NXOpen::Features::DatumAxisBuilder::DirectionOrientation ( )

获取方向朝向。仅当基准轴类型为 Features::DatumAxisBuilder::TypesPointAndDir时使用
创建于NX5.0.0。

许可要求: 无

◆ EvaluatePath()

void NXOpen::Features::DatumAxisBuilder::EvaluatePath ( NXOpen::Section * section)

评估路径。若不存在路径,则创建路径;否则评估路径。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX8.0.0.

许可要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
section截面

◆ IsAssociative()

bool NXOpen::Features::DatumAxisBuilder::IsAssociative ( )

返回关联性。如果为 true,则基准轴具有关联性
创建于 NX5.0.0。

许可证要求:无

◆ IsAxisReversed()

bool NXOpen::Features::DatumAxisBuilder::IsAxisReversed ( )

返回基准轴方向。如果为 true,则基准轴方向反转
创建于 NX5.0.0。

许可证要求:无

◆ Object1()

NXOpen::SelectNXObject * NXOpen::Features::DatumAxisBuilder::Object1 ( )

获取第一个对象(例如,平面或基准平面)。仅当基准轴类型为 Features::DatumAxisBuilder::TypesIntersection时使用
创建于NX5.0.0。

许可要求: 无

◆ Object2()

NXOpen::SelectNXObject * NXOpen::Features::DatumAxisBuilder::Object2 ( )

获取第二个对象(例如,平面或基准平面)。仅当基准轴类型为 Features::DatumAxisBuilder::TypesIntersection时使用
创建于NX5.0.0。

许可要求: 无

◆ Objects()

NXOpen::SelectNXObjectList * NXOpen::Features::DatumAxisBuilder::Objects ( )

返回用于定义基准轴的对象。仅当基准轴类型为 Features::DatumAxisBuilder::TypesInferred 时使用
创建于 NX5.0.0.

许可要求:无

◆ OrientationObject()

NXOpen::SelectNXObject * NXOpen::Features::DatumAxisBuilder::OrientationObject ( )

返回方向对象。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0。

许可证要求:无

◆ Point()

NXOpen::Point * NXOpen::Features::DatumAxisBuilder::Point ( )

返回点。仅当基准轴类型为 Features::DatumAxisBuilder::TypesPointAndDir 时使用
创建于 NX5.0.0.

许可要求:无

◆ Point1()

NXOpen::Point * NXOpen::Features::DatumAxisBuilder::Point1 ( )

获取第一个点。仅当基准轴类型为 Features::DatumAxisBuilder::TypesTwoPoints时使用
创建于NX5.0.0。

许可要求: 无

◆ Point2()

NXOpen::Point * NXOpen::Features::DatumAxisBuilder::Point2 ( )

获取第二个点。仅当基准轴类型为 Features::DatumAxisBuilder::TypesTwoPoints时使用
创建于NX5.0.0。

许可要求: 无

◆ ResizedEndDistance()

double NXOpen::Features::DatumAxisBuilder::ResizedEndDistance ( )

返回终点的调整距离。如果值为 0.0,则此基准轴在终点不调整大小
创建于 NX5.0.0。

许可证要求:无

◆ ReverseDirection()

bool NXOpen::Features::DatumAxisBuilder::ReverseDirection ( )

返回
创建于NX4.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

◆ Section()

NXOpen::Section * NXOpen::Features::DatumAxisBuilder::Section ( )

返回截面。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX8.0.0.

许可要求:无

◆ SetAlternateSolutionType()

void NXOpen::Features::DatumAxisBuilder::SetAlternateSolutionType ( NXOpen::Features::DatumAxisBuilder::AlternateSolution alternateSolutionType)

设置备用解类型。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
alternateSolutionTypealternate solution type

◆ SetAssociative()

void NXOpen::Features::DatumAxisBuilder::SetAssociative ( bool isAssociative)

设置关联性。如果为 true,则基准轴具有关联性
创建于 NX5.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
isAssociativeisassociative

◆ SetAxisReversed()

void NXOpen::Features::DatumAxisBuilder::SetAxisReversed ( bool isAxisReversed)

设置基准轴方向。如果为 true,则基准轴方向反转
创建于 NX5.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
isAxisReversedisaxisreversed

◆ SetCurveOrientation()

void NXOpen::Features::DatumAxisBuilder::SetCurveOrientation ( NXOpen::Features::DatumAxisBuilder::CurveOrientations curveOrientation)

设置曲线上矢量的方向。仅当基准轴类型为 Features::DatumAxisBuilder::TypesOnCurveVector 时使用
创建于 NX5.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
curveOrientationcurveorientation

◆ SetDirectionOrientation()

void NXOpen::Features::DatumAxisBuilder::SetDirectionOrientation ( NXOpen::Features::DatumAxisBuilder::DirectionOrientations directionOrientation)

设置方向朝向。仅当基准轴类型为 Features::DatumAxisBuilder::TypesPointAndDir时使用
创建于NX5.0.0。

许可要求: solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
directionOrientation方向朝向

◆ SetFixedDatumAxis()

void NXOpen::Features::DatumAxisBuilder::SetFixedDatumAxis ( NXOpen::Features::DatumAxisBuilder::FixedType type)

设置固定基准轴的类型
创建于 NX3.0.0.

许可要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
type指示固定基准轴类型

◆ SetGeometryAndConstraints() [1/2]

void NXOpen::Features::DatumAxisBuilder::SetGeometryAndConstraints ( NXOpen::DisplayableObject * geometry1,
NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType1,
int constraintAttribute1,
double constraintValue1,
const char * constraint1,
NXOpen::DisplayableObject * geometry2,
NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType2,
int constraintAttribute2,
double constraintValue2,
const char * constraint2,
NXOpen::Sense direction )

设置两个不同的几何对象。可能的组合如下:

  • 若第一个约束为通过点,则第二个约束可以是:
    • 实体顶点(端点)
    • 边的中点
  • 若第一个约束为平面相交,则第二个约束可以是:
    • 通过两个平面相交形成的直边
  • 若第一个约束为通过曲线,则第二个约束可以是:
    • 与通过点约束结合使用,并沿曲线
  • 若第一个约束为垂直于对象,则第二个约束可以是:
    • 通过曲线和通过点,且垂直于直线、线性边、 基准平面、基准轴或平面


创建于 NX3.0.0.

许可要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
geometry1第一个几何对象
geometryConstraintType1第一个几何对象的约束类型
constraintAttribute1第一个几何对象的约束属性值 VRH alternate_solution_only - 仅用于曲线上的点
constraintValue1第一个几何对象的约束值参数
constraint1附加到第一个几何对象的约束。 若未指定值,设为 "0.0"
geometry2第二个几何对象
geometryConstraintType2第二个几何对象的约束类型
constraintAttribute2第二个几何对象的约束属性值
constraintValue2第二个几何对象的约束值参数
constraint2附加到第二个几何对象的约束。 若未指定值,设为 "0.0"
direction指定基准轴方向的标志

◆ SetGeometryAndConstraints() [2/2]

void NXOpen::Features::DatumAxisBuilder::SetGeometryAndConstraints ( NXOpen::DisplayableObject * geometry1,
NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType1,
int constraintAttribute1,
double constraintValue1,
const NXString & constraint1,
NXOpen::DisplayableObject * geometry2,
NXOpen::Features::DatumAxisBuilder::ConstraintType geometryConstraintType2,
int constraintAttribute2,
double constraintValue2,
const NXString & constraint2,
NXOpen::Sense direction )

设置两个不同的几何对象。可能的组合如下:

  • 如果第一个约束是“通过点”,则第二个约束可以是:
    • 实体体顶点(端点)
    • 边中点
  • 如果第一个约束是“平面的交线”,则第二个约束可以是:
    • 通过两个平面相交形成的直边
  • 如果第一个约束是“通过曲线”,则第二个约束可以是:
    • 与“通过点”约束配合使用并沿曲线
  • 如果第一个约束是“垂直于对象”,则第二个约束可以是:
    • 通过曲线和通过点垂直于线、线性边、 基准平面、基准轴或平面面


创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
geometry1第一个几何对象
geometryConstraintType1第一个几何对象的约束类型
constraintAttribute1第一个几何对象的约束属性值 VRH alternate_solution_only - 仅用于曲线上的点
constraintValue1第一个几何对象的约束值参数
constraint1附加到第一个几何对象的约束。 如果未指定值,则设置为 "0.0"
geometry2第二个几何对象
geometryConstraintType2第二个几何对象的约束类型
constraintAttribute2第二个几何对象的约束属性值
constraintValue2第二个几何对象的约束值参数
constraint2附加到第二个几何对象的约束。 如果未指定值,则设置为 "0.0"
direction指定基准轴方向的标志

◆ SetPoint()

void NXOpen::Features::DatumAxisBuilder::SetPoint ( NXOpen::Point * point)

设置点。仅当基准轴类型为 Features::DatumAxisBuilder::TypesPointAndDir时使用
创建于NX5.0.0。

许可要求: solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
point

◆ SetPoint1()

void NXOpen::Features::DatumAxisBuilder::SetPoint1 ( NXOpen::Point * point1)

设置第一个点。仅当基准轴类型为 Features::DatumAxisBuilder::TypesTwoPoints时使用
创建于NX5.0.0。

许可要求: solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
point1点1

◆ SetPoint2()

void NXOpen::Features::DatumAxisBuilder::SetPoint2 ( NXOpen::Point * point2)

设置第二个点。仅当基准轴类型为 Features::DatumAxisBuilder::TypesTwoPoints时使用
创建于NX5.0.0。

许可要求: solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
point2点2

◆ SetPointAndDirection()

void NXOpen::Features::DatumAxisBuilder::SetPointAndDirection ( NXOpen::Point * point,
NXOpen::Direction * direction )

创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
point
direction方向

◆ SetPointOnCurve() [1/6]

void NXOpen::Features::DatumAxisBuilder::SetPointOnCurve ( double arcLength,
const char * constraint,
NXOpen::Features::DatumAxisBuilder::AlternateSolution alternateSolution,
NXOpen::Features::DatumAxisBuilder::CurveOption option,
NXOpen::ICurve * curve )

设置曲线或边与弧长
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
arcLength弧长
constraint约束表达式。通常与arc_length相同
alternateSolution备用解
option绝对距离或相对距离
curve曲线或边对象

◆ SetPointOnCurve() [2/6]

void NXOpen::Features::DatumAxisBuilder::SetPointOnCurve ( double arcLength,
const char * constraint,
NXOpen::Features::DatumAxisBuilder::CurveOption option,
NXOpen::DisplayableObject * secondGeometry,
NXOpen::ICurve * curve )

设置曲线或边对象与弧长,并带有图中的额外几何图形
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
arcLength弧长
constraint约束表达式。通常与arc_length相同
option绝对距离或相对距离
secondGeometry第二个几何对象
curve曲线或边对象

◆ SetPointOnCurve() [3/6]

void NXOpen::Features::DatumAxisBuilder::SetPointOnCurve ( double arcLength,
const char * constraint,
NXOpen::Features::DatumAxisBuilder::CurveOption option,
NXOpen::ICurve * curve,
NXOpen::DisplayableObject * secondGeometry )

设置曲线或边对象与弧长,并带有图中的额外几何图形
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
arcLength弧长
constraint约束表达式。通常与arc_length相同
option绝对距离或相对距离
curve曲线或边对象
secondGeometry第二个几何对象

◆ SetPointOnCurve() [4/6]

void NXOpen::Features::DatumAxisBuilder::SetPointOnCurve ( double arcLength,
const NXString & constraint,
NXOpen::Features::DatumAxisBuilder::AlternateSolution alternateSolution,
NXOpen::Features::DatumAxisBuilder::CurveOption option,
NXOpen::ICurve * curve )

设置曲线或边与弧长
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
arcLength弧长
constraint约束表达式。通常与arc_length相同
alternateSolution备用解
option绝对距离或相对距离
curve曲线或边对象

◆ SetPointOnCurve() [5/6]

void NXOpen::Features::DatumAxisBuilder::SetPointOnCurve ( double arcLength,
const NXString & constraint,
NXOpen::Features::DatumAxisBuilder::CurveOption option,
NXOpen::DisplayableObject * secondGeometry,
NXOpen::ICurve * curve )

设置曲线或边对象与弧长,并带有图中的额外几何图形
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
arcLength弧长
constraint约束表达式。通常与arc_length相同
option绝对距离或相对距离
secondGeometry第二个几何对象
curve曲线或边对象

◆ SetPointOnCurve() [6/6]

void NXOpen::Features::DatumAxisBuilder::SetPointOnCurve ( double arcLength,
const NXString & constraint,
NXOpen::Features::DatumAxisBuilder::CurveOption option,
NXOpen::ICurve * curve,
NXOpen::DisplayableObject * secondGeometry )

设置曲线或边对象与弧长,并带有图中的额外几何图形
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
arcLength弧长
constraint约束表达式。通常与arc_length相同
option绝对距离或相对距离
curve曲线或边对象
secondGeometry第二个几何对象

◆ SetResizedEndDistance()

void NXOpen::Features::DatumAxisBuilder::SetResizedEndDistance ( double resizedEndDistance)

设置终点的调整距离。如果值为 0.0,则此基准轴在终点不调整大小
创建于 NX5.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
resizedEndDistanceresizedenddistance

◆ SetReverseDirection()

void NXOpen::Features::DatumAxisBuilder::SetReverseDirection ( bool reverseDirection)

设置
创建于NX4.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
reverseDirection反转方向

◆ SetTwoPoints()

void NXOpen::Features::DatumAxisBuilder::SetTwoPoints ( NXOpen::Point * point1,
NXOpen::Point * point2,
NXOpen::Features::DatumAxisBuilder::UseArcLength useArcLength )

设置两点
创建于NX3.0.0。

许可证要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
point1点1
point2点2
useArcLength指定使用弧长而非弧长百分比的点

◆ SetType()

void NXOpen::Features::DatumAxisBuilder::SetType ( NXOpen::Features::DatumAxisBuilder::Types type)

设置基准轴类型
创建于 NX5.0.0.

许可要求:solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
type类型

◆ SetVector()

void NXOpen::Features::DatumAxisBuilder::SetVector ( NXOpen::Direction * vector)

设置矢量。仅当基准轴类型为 Features::DatumAxisBuilder::TypesPointAndDir时使用
创建于NX5.0.0。

许可要求: solid_modeling ("SOLIDS MODELING") 或 geometric_tol ("GDT")

参数
vector矢量

◆ Type()

NXOpen::Features::DatumAxisBuilder::Types NXOpen::Features::DatumAxisBuilder::Type ( )

返回基准轴类型
创建于 NX5.0.0.

许可要求:无

◆ Vector()

NXOpen::Direction * NXOpen::Features::DatumAxisBuilder::Vector ( )

获取矢量。仅当基准轴类型为 Features::DatumAxisBuilder::TypesPointAndDir时使用
创建于NX5.0.0。

许可要求: 无