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

草图投影构建器 更多...

#include <SketchProjectBuilder.hxx>

类 NXOpen::SketchProjectBuilder 继承关系图:
NXOpen::Features::EmbeddedOperationBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 类型

enum  OutputCurve { OutputCurveOriginal , OutputCurveSplineSegment , OutputCurveSingleSpline }

Public 成员函数

bool Associativity ()
NXOpen::SelectNXObjectListCurveList ()
NXOpen::SketchProjectBuilder::OutputCurve CurveType ()
bool ProjectAsDumbFixedCurves ()
NXOpen::SectionSection ()
void SetAssociativity (bool associativity)
void SetCurveType (NXOpen::SketchProjectBuilder::OutputCurve curveType)
void SetProjectAsDumbFixedCurves (bool projectAsDumbFixed)
void SetTolerance (double tolerance)
double Tolerance ()
Public 成员函数 继承自 NXOpen::Features::EmbeddedOperationBuilder
NXOpen::Features::FeatureCommitOperation ()
NXOpen::Features::FeatureGetOperation ()
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 _SketchProjectBuilderBuilder

详细描述

草图投影构建器

Represents a SketchProjectBuilder builder
To create a new instance of this class, use SketchCollection::CreateProjectBuilder
Default values.

Property Value
Associativity True
CurveType Original


Created in NX5.0.0.

成员枚举类型说明

◆ OutputCurve

This enum represents the kind of output curves

枚举值
OutputCurveOriginal 

original curve output

OutputCurveSplineSegment 

spline segment output

OutputCurveSingleSpline 

single spline output

成员函数说明

◆ Associativity()

bool NXOpen::SketchProjectBuilder::Associativity ( )

Returns the associativity of projection. If this variable is turned on, the output curves will always depend on the input curves. So that when the input curves change, the output curves will change accordingly. If this variable is set to false, the output curves derive their shape from current stage of the input curves and then become independent of the input curves. In drafting mode, one can not project curves in associative manner. Also if the curves belong to multiple parts, they can not be projected in associative manner.
Created in NX5.0.0.

License requirements : None

◆ CurveList()

NXOpen::SelectNXObjectList * NXOpen::SketchProjectBuilder::CurveList ( )

Returns the curve list. The curves to project should be added to this list only if they belong to multiple parts and they are to be projected in non associative manner. All the curves to be projected should either go to the section or the curve list depending on their owning parts.
Created in NX5.0.0.

License requirements : None

◆ CurveType()

NXOpen::SketchProjectBuilder::OutputCurve NXOpen::SketchProjectBuilder::CurveType ( )

Returns the output curve type generated by the projection. Depending on this value, the projected curve can have the same geometry as the input curves or it can be a single spline curve or a set of splines.
Created in NX5.0.0.

License requirements : None

◆ ProjectAsDumbFixedCurves()

bool NXOpen::SketchProjectBuilder::ProjectAsDumbFixedCurves ( )

Returns the flag to indicate if the projection output needs to be converted to dumb fully fixed curves in the sketch. This flag overrides the associativity flag i.e. if both projectAsDumbFixed and associativity are set to true, the result will be dumb fixed curves and not an associative projection.
Created in NX7.5.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

◆ Section()

NXOpen::Section * NXOpen::SketchProjectBuilder::Section ( )

Returns the section. The curves to project should be added to the section if they do not belong to multiple parts. All the curves to be projected should either go to the section or the curve list depending on their owning parts.
Created in NX5.0.0.

License requirements : None

◆ SetAssociativity()

void NXOpen::SketchProjectBuilder::SetAssociativity ( bool associativity)

Sets the associativity of projection. If this variable is turned on, the output curves will always depend on the input curves. So that when the input curves change, the output curves will change accordingly. If this variable is set to false, the output curves derive their shape from current stage of the input curves and then become independent of the input curves. In drafting mode, one can not project curves in associative manner. Also if the curves belong to multiple parts, they can not be projected in associative manner.
Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

参数
associativityassociativity

◆ SetCurveType()

void NXOpen::SketchProjectBuilder::SetCurveType ( NXOpen::SketchProjectBuilder::OutputCurve curveType)

Sets the output curve type generated by the projection. Depending on this value, the projected curve can have the same geometry as the input curves or it can be a single spline curve or a set of splines.
Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

参数
curveTypecurve type

◆ SetProjectAsDumbFixedCurves()

void NXOpen::SketchProjectBuilder::SetProjectAsDumbFixedCurves ( bool projectAsDumbFixed)

Sets the flag to indicate if the projection output needs to be converted to dumb fully fixed curves in the sketch. This flag overrides the associativity flag i.e. if both projectAsDumbFixed and associativity are set to true, the result will be dumb fixed curves and not an associative projection.
Created in NX7.5.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

参数
projectAsDumbFixedprojectasdumbfixed

◆ SetTolerance()

void NXOpen::SketchProjectBuilder::SetTolerance ( double tolerance)

Sets the tolerance value used for the projection. The same value is used for the tolerances related to the section.
Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")

参数
tolerancetolerance

◆ Tolerance()

double NXOpen::SketchProjectBuilder::Tolerance ( )

Returns the tolerance value used for the projection. The same value is used for the tolerances related to the section.
Created in NX5.0.0.

License requirements : None