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

草图约束构建器 更多...

#include <SketchConstraintBuilder.hxx>

类 NXOpen::SketchConstraintBuilder 继承关系图:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  Constraint {
  ConstraintCoincident , ConstraintPointOnCurve , ConstraintTangent , ConstraintParallel ,
  ConstraintPerpendicular , ConstraintHorizontal , ConstraintVertical , ConstraintHorizontalAlignment ,
  ConstraintVerticalAlignment , ConstraintMidpoint , ConstraintCollinear , ConstraintConcentric ,
  ConstraintEqualLength , ConstraintEqualRadius , ConstraintSymmetric , ConstraintFixed ,
  ConstraintFullyFixed , ConstraintConstantAngle , ConstraintConstantLength , ConstraintPointOnString ,
  ConstraintTangentToString , ConstraintPerpendicularToString , ConstraintNonUniformScale , ConstraintUniformScale ,
  ConstraintSlopeOfCurve
}

Public 成员函数

NXOpen::SelectNXObjectCenterline ()
NXOpen::SketchConstraintBuilder::Constraint ConstraintType ()
NXOpen::SelectNXObjectListGeometryToConstrain ()
NXOpen::SelectNXObjectGeometryToConstrainTo ()
bool MakeReference ()
void SetConstraintType (NXOpen::SketchConstraintBuilder::Constraint constraintType)
void SetMakeReference (bool makeReference)
void SetUpdateSketchAtCommit (bool updateSketch)
bool UpdateSketchAtCommit ()
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 _SketchConstraintBuilderBuilder

详细描述

草图约束构建器

Represents a NXOpen::SketchConstraint builder
To create a new instance of this class, use NXOpen::SketchCollection::CreateConstraintBuilder

Created in NX8.5.0.

成员枚举类型说明

◆ Constraint

the types of the constraint

枚举值
ConstraintCoincident 

coincident

ConstraintPointOnCurve 

point on curve

ConstraintTangent 

tangent

ConstraintParallel 

parallel

ConstraintPerpendicular 

perpendicular

ConstraintHorizontal 

horizontal

ConstraintVertical 

vertical

ConstraintHorizontalAlignment 

horizontal alignment

ConstraintVerticalAlignment 

vertical alignment

ConstraintMidpoint 

midpoint

ConstraintCollinear 

collinear

ConstraintConcentric 

concentric

ConstraintEqualLength 

equal length

ConstraintEqualRadius 

equal radius

ConstraintSymmetric 

symmetric

ConstraintFixed 

fixed

ConstraintFullyFixed 

fully fixed

ConstraintConstantAngle 

constant angle

ConstraintConstantLength 

constant length

ConstraintPointOnString 

point on string

ConstraintTangentToString 

tangent to string

ConstraintPerpendicularToString 

perpendicular to string

ConstraintNonUniformScale 

non uniform scale

ConstraintUniformScale 

uniform scale

ConstraintSlopeOfCurve 

slope of curve

成员函数说明

◆ Centerline()

NXOpen::SelectNXObject * NXOpen::SketchConstraintBuilder::Centerline ( )

Returns the centerline for a symmetric constraint type
Created in NX8.5.0.

License requirements : None

◆ ConstraintType()

NXOpen::SketchConstraintBuilder::Constraint NXOpen::SketchConstraintBuilder::ConstraintType ( )

Returns the constraint type
Created in NX8.5.0.

License requirements : None

◆ GeometryToConstrain()

NXOpen::SelectNXObjectList * NXOpen::SketchConstraintBuilder::GeometryToConstrain ( )

Returns the geometries to be constrained
Created in NX8.5.0.

License requirements : None

◆ GeometryToConstrainTo()

NXOpen::SelectNXObject * NXOpen::SketchConstraintBuilder::GeometryToConstrainTo ( )

Returns the secondary geometries to be constrained
Created in NX8.5.0.

License requirements : None

◆ MakeReference()

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

◆ SetConstraintType()

void NXOpen::SketchConstraintBuilder::SetConstraintType ( NXOpen::SketchConstraintBuilder::Constraint constraintType)

Sets the constraint type
Created in NX8.5.0.

License requirements : None

参数
constraintTypeconstrainttype

◆ SetMakeReference()

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

参数
makeReferencemakereference

◆ SetUpdateSketchAtCommit()

void NXOpen::SketchConstraintBuilder::SetUpdateSketchAtCommit ( bool updateSketch)

Sets the flag specifying whether or not to update the sketch during the builder commit. The default value is true. If the value is set to false, the sketch will not update during the builder commit.
Created in NX11.0.0.

License requirements : None

参数
updateSketchupdatesketch

◆ UpdateSketchAtCommit()

bool NXOpen::SketchConstraintBuilder::UpdateSketchAtCommit ( )

Returns the flag specifying whether or not to update the sketch during the builder commit. The default value is true. If the value is set to false, the sketch will not update during the builder commit.
Created in NX11.0.0.

License requirements : None