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

轻量级截面构建器 更多...

#include <Annotations_LightweightSectionBuilder.hxx>

类 NXOpen::Annotations::LightweightSectionBuilder 继承关系图:
NXOpen::Display::DynamicSectionBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public 成员函数

NXOpen::SelectDisplayableObjectListBoundingBoxComponents ()
bool ClipCoplanarObjects ()
bool ClipWireframeObjects ()
void GetSectionCurves (std::vector< NXOpen::Curve * > &curves)
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.AssemblyCrosshatching@endlink instead.") bool AssemblyCrosshatching()
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.AssemblyCrosshatching@endlink instead.") void SetAssemblyCrosshatching(bool assemblyCrosshatchingOption)
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchAdjacencyTolerance@endlink instead.") double ToleranceCrosshatch()
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchAdjacencyTolerance@endlink instead.") void SetToleranceCrosshatch(double crosshatchAdjacencyTolerance)
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchPatternDefinedBy@endlink instead.") int PatternDefinedBy()
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchPatternDefinedBy@endlink instead.") void SetPatternDefinedBy(int patternDefinedBy)
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.DisplayCrosshatch@endlink instead.") bool DisplayCrosshatch()
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.DisplayCrosshatch@endlink instead.") void SetDisplayCrosshatch(bool displayCrosshatchOption)
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.RestrictCrosshatchAngle@endlink instead.") bool RestrictCrosshatch()
 NX_DEPRECATED ("Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.RestrictCrosshatchAngle@endlink instead.") void SetRestrictCrosshatch(bool restrictCrosshatchOption)
NXOpen::SelectDisplayableObjectListObjectsToSection ()
bool SaveAssociativeCurves ()
void SetClipCoplanarObjects (bool clipCoplanarObjectsOption)
void SetClipWireframeObjects (bool clipWireframeObjectsOption)
void SetSaveAssociativeCurves (bool saveAssociativeCurvesToggle)
NXOpen::Annotations::PmiSectionViewSettingsBuilderSettings ()
void SetViewName (const char *viewName)
void SetViewName (const NXString &viewName)
NXString ViewName ()
Public 成员函数 继承自 NXOpen::Display::DynamicSectionBuilder
void AlternatePlane ()
bool BoxExtentDelayUpdate ()
double BoxExtentMargin ()
NXOpen::SelectINXObjectListBoxExtentObjects ()
bool BoxExtentSupported ()
NXOpen::NXColorCapColor ()
NXOpen::Display::DynamicSectionTypes::CapColorOption CapColorOption ()
NXOpen::Display::DynamicSectionTypes::Clip ClipType ()
NXOpen::DatumPlaneCreateDatumPlane ()
NXOpen::Display::DynamicSectionTypes::CoordinateSystem CsysType ()
NXOpen::NXColorCurveColor ()
NXOpen::Display::DynamicSectionTypes::CurveColorOption CurveColorOption ()
NXOpen::DisplayableObject::ObjectFont CurveFont ()
NXOpen::DisplayableObject::ObjectWidth CurveWidth ()
NXOpen::Display::DynamicSectionTypes::Axis DefaultPlaneAxis ()
bool DeferCurveUpdate ()
void EditView (NXOpen::ModelingView *view)
NXOpen::PartExportSectionCurves (const char *groupName, const char *fileName, int *numSectionCurves)
NXOpen::PartExportSectionCurves (const NXString &groupName, const NXString &fileName, int *numSectionCurves)
void GetActivePlane (NXOpen::Display::DynamicSectionTypes::Axis *planeAxis, NXOpen::Display::DynamicSectionTypes::ActivePlane *activePlane)
void GetAllPlanesGeometry (std::vector< NXOpen::Point3d > &planeOrigins, std::vector< NXOpen::Matrix3x3 > &planeMetrices)
NXOpen::PlaneGetAssociativePlane ()
void GetBoundingBox (NXOpen::Point3d *minCornerPt, NXOpen::Point3d *maxCornerPt)
NXOpen::Display::PlaneGridBuilderGetGridSettings ()
NXString GetName ()
NXOpen::Vector3d GetNormal ()
double GetOffset ()
void GetOffsetLimits (double *minimumOffset, double *maximumOffset)
NXOpen::Point3d GetOrigin ()
void GetPlaneGeometry (NXOpen::Display::DynamicSectionTypes::Axis axisType, NXOpen::Display::DynamicSectionTypes::ActivePlane planeType, NXOpen::Point3d *origin, NXOpen::Matrix3x3 *matrix)
double GetPlaneThickness ()
double GetRotationAngle (NXOpen::Display::DynamicSectionTypes::Axis rotationAxis)
NXOpen::Matrix3x3 GetRotationMatrix ()
NXOpen::NXColorInterferenceColor ()
bool IsAssociativitySupported ()
bool IsDefaultPlane ()
NXOpen::Display::LayerSettingsBuilderLayerSettings ()
bool LoadAllIntersecting (NXOpen::PartLoadStatus **loadStatus)
bool LoadNearIntersecting (NXOpen::PartLoadStatus **loadStatus)
bool LockPlanes ()
int NumberInSeries ()
 NX_DEPRECATED ("Deprecated in NX6.0.0. Use ModelingView::IsDynamicSectionVisible instead.") bool ShowCurves()
 NX_DEPRECATED ("Deprecated in NX6.0.0. Use ModelingView::SetDynamicSectionVisible instead.") void SetShowCurves(bool showCurves)
void OffsetOriginInPlane (double xOffset, double yOffset)
void PlaneX ()
void PlaneY ()
void PlaneZ ()
void RestoreView ()
void ReverseDirection ()
bool ReverseSeries ()
void SaveCurves (const char *groupName)
void SaveCurves (const NXString &groupName)
double SeriesSpacing ()
void SetActivePlane (NXOpen::Display::DynamicSectionTypes::Axis planeAxis, NXOpen::Display::DynamicSectionTypes::ActivePlane activePlane)
bool SetAllPlanesGeometry (const std::vector< NXOpen::Point3d > &planeOrigins, const std::vector< NXOpen::Matrix3x3 > &planeMetrices)
void SetAssociativePlane (NXOpen::Plane *planeTag)
void SetBoundingBox (const NXOpen::Point3d &minCornerPt, const NXOpen::Point3d &maxCornerPt)
void SetBoxExtentDelayUpdate (bool delayUpdate)
void SetBoxExtentMargin (double margin)
void SetCapColor (NXOpen::NXColor *capColor)
void SetCapColorOption (NXOpen::Display::DynamicSectionTypes::CapColorOption capColorOption)
void SetClipType (NXOpen::Display::DynamicSectionTypes::Clip clipType)
void SetCsysType (NXOpen::Display::DynamicSectionTypes::CoordinateSystem csys)
void SetCurveColor (NXOpen::NXColor *curveColor)
void SetCurveColorOption (NXOpen::Display::DynamicSectionTypes::CurveColorOption curveColorOption)
void SetCurveFont (NXOpen::DisplayableObject::ObjectFont curveFont)
void SetCurveWidth (NXOpen::DisplayableObject::ObjectWidth curveWidth)
void SetDefaultPlane ()
void SetDefaultPlaneAxis (NXOpen::Display::DynamicSectionTypes::Axis planeAxis)
void SetDefaults ()
void SetDeferCurveUpdate (bool deferCurveUpdate)
void SetInterferenceColor (NXOpen::NXColor *interferenceColor)
void SetLockPlanes (bool lockPlanes)
bool SetName (const char *sectionName)
bool SetName (const NXString &sectionName)
void SetNormal (const NXOpen::Vector3d &normal)
void SetNumberInSeries (int numberSectionsRequested)
void SetOffset (double offset)
void SetOffsetByPoint (const NXOpen::Point3d &point)
void SetOrigin (const NXOpen::Point3d &origin)
void SetPlane (const NXOpen::Point3d &axisOrigin, const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &rotationMatrix)
void SetPlaneThickness (double planeThickness)
void SetReverseSeries (bool reverseSeries)
void SetRotationAngle (NXOpen::Display::DynamicSectionTypes::Axis rotationAxis, double angle)
void SetRotationMatrix (NXOpen::Display::DynamicSectionTypes::Axis rotationAxis, const NXOpen::Matrix3x3 &rotationMatrix)
void SetSeriesSpacing (double sectionSpacing)
void SetShowCap (bool showCap)
void SetShowClip (bool showClip)
void SetShowGrid (bool showGrid)
void SetShowInterference (bool showInterference)
void SetShowViewer (bool showViewer)
void SetType (NXOpen::Display::DynamicSectionTypes::Type type)
void SetView (NXOpen::ModelingView *view)
bool ShowCap ()
bool ShowClip ()
void ShowCurvePreview (bool showCurvePreview)
bool ShowGrid ()
bool ShowInterference ()
void ShowSectionCurves (bool showCurves)
bool ShowViewer ()
NXOpen::Display::DynamicSectionTypes::Type Type ()
void UpdateBoxExtents ()
NXOpen::ModelingViewView ()
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 _LightweightSectionBuilderBuilder

详细描述

轻量级截面构建器

表示 NXOpen::Annotations::LightweightSection 构建器
要创建此类的新实例,请使用 NXOpen::Annotations::PmiLightweightSectionCollection::CreateLightweightSectionBuilder
默认值。

属性
BoxExtentDelayUpdate false
CapColorOption Any
ClipType Section
CurveColorOption Any
CurveFont Solid
CurveWidth Two
LockPlanes true
ShowCap true
ShowClip true
ShowCurves (已弃用) false
ShowGrid false
ShowInterference false
ShowViewer false
Type OnePlane


在 NX7.5.0 版本中创建。

成员函数说明

◆ BoundingBoxComponents()

NXOpen::SelectDisplayableObjectList * NXOpen::Annotations::LightweightSectionBuilder::BoundingBoxComponents ( )

返回用于定义箱型剖切类型边界范围的对象
Created in NX8.0.0.

License requirements : None

◆ ClipCoplanarObjects()

bool NXOpen::Annotations::LightweightSectionBuilder::ClipCoplanarObjects ( )

返回剖切平面符号

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.CuttingPlaneSymbol@endlink。
创建于NX9.0.0。

许可要求:无

返回修剪共面对象选项
创建于NX11.0.0。

许可要求:无

◆ ClipWireframeObjects()

bool NXOpen::Annotations::LightweightSectionBuilder::ClipWireframeObjects ( )

返回修剪线框对象选项
创建于NX11.0.1。

许可要求:无

◆ GetSectionCurves()

void NXOpen::Annotations::LightweightSectionBuilder::GetSectionCurves ( std::vector< NXOpen::Curve * > & curves)

返回轻量剖切视图的曲线
Created in NX7.5.0.

License requirements : None

参数
curvesArray of lightweight section view curves

◆ NX_DEPRECATED() [1/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.AssemblyCrosshatching@endlink instead." )

返回装配剖面线选项

弃用
Deprecated in NX2007.0.0. Use instead.
Created in NX9.0.0.

License requirements : None

◆ NX_DEPRECATED() [2/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.AssemblyCrosshatching@endlink instead." )

设置装配剖面线选项

弃用
Deprecated in NX2007.0.0. Use instead.
Created in NX9.0.0.

License requirements : geometric_tol ("GDT")

assemblycrosshatchingoption

◆ NX_DEPRECATED() [3/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchAdjacencyTolerance@endlink instead." )

返回剖面线相邻容差

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchAdjacencyTolerance@endlink。
创建于NX9.0.0。

许可要求:无

◆ NX_DEPRECATED() [4/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchAdjacencyTolerance@endlink instead." )

设置剖面线相邻容差

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchAdjacencyTolerance@endlink。
创建于NX9.0.0。

许可要求:geometric_tol ("GDT")

crosshatchadjacencytolerance

◆ NX_DEPRECATED() [5/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchPatternDefinedBy@endlink instead." )

返回剖面线图案定义方式

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchPatternDefinedBy@endlink。
创建于NX9.0.0。

许可要求:无

◆ NX_DEPRECATED() [6/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchPatternDefinedBy@endlink instead." )

设置剖面线图案定义方式

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.View.CrosshatchPatternDefinedBy@endlink。
创建于NX9.0.0。

许可要求:geometric_tol ("GDT")

patterndefinedby

◆ NX_DEPRECATED() [7/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.DisplayCrosshatch@endlink instead." )

返回剖面线设置

弃用
Deprecated in NX2007.0.0. Use instead.
Created in NX9.0.0.

License requirements : None

返回显示剖面线选项

弃用
Deprecated in NX2007.0.0. Use instead.
Created in NX9.0.0.

License requirements : None

◆ NX_DEPRECATED() [8/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.DisplayCrosshatch@endlink instead." )

设置显示剖面线选项

弃用
Deprecated in NX2007.0.0. Use instead.
Created in NX9.0.0.

License requirements : geometric_tol ("GDT")

displaycrosshatchoption

◆ NX_DEPRECATED() [9/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.RestrictCrosshatchAngle@endlink instead." )

返回限制剖面线角度为45度的选项

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.View.RestrictCrosshatchAngle@endlink。
创建于NX9.0.0。

许可要求:无

◆ NX_DEPRECATED() [10/10]

NXOpen::Annotations::LightweightSectionBuilder::NX_DEPRECATED ( "Deprecated in NX2007.0.0. Use @link NXOpen.LightweightSectionBuilder.Settings.View.RestrictCrosshatchAngle@endlink instead." )

设置限制剖面线角度为45度的选项

弃用
在NX2007.0.0中已弃用。请改用 NXOpen.LightweightSectionBuilder.Settings.View.RestrictCrosshatchAngle@endlink。
创建于NX9.0.0。

许可要求:geometric_tol ("GDT")

restrictcrosshatchoption

◆ ObjectsToSection()

NXOpen::SelectDisplayableObjectList * NXOpen::Annotations::LightweightSectionBuilder::ObjectsToSection ( )

返回要剖切的对象
Created in NX7.5.0.

License requirements : None

◆ SaveAssociativeCurves()

bool NXOpen::Annotations::LightweightSectionBuilder::SaveAssociativeCurves ( )

返回保存关联曲线的切换值
Created in NX7.5.0.

License requirements : None

◆ SetClipCoplanarObjects()

void NXOpen::Annotations::LightweightSectionBuilder::SetClipCoplanarObjects ( bool clipCoplanarObjectsOption)

设置修剪共面对象选项
创建于NX11.0.0。

许可要求:geometric_tol ("GDT")

参数
clipCoplanarObjectsOptionclipcoplanarobjectsoption

◆ SetClipWireframeObjects()

void NXOpen::Annotations::LightweightSectionBuilder::SetClipWireframeObjects ( bool clipWireframeObjectsOption)

设置修剪线框对象选项
创建于NX11.0.1。

许可要求:geometric_tol ("GDT")

参数
clipWireframeObjectsOptionclipwireframeobjectsoption

◆ SetSaveAssociativeCurves()

void NXOpen::Annotations::LightweightSectionBuilder::SetSaveAssociativeCurves ( bool saveAssociativeCurvesToggle)

设置保存关联曲线的切换值
Created in NX7.5.0.

License requirements : geometric_tol ("GDT")

参数
saveAssociativeCurvesTogglesaveassociativecurvestoggle

◆ Settings()

NXOpen::Annotations::PmiSectionViewSettingsBuilder * NXOpen::Annotations::LightweightSectionBuilder::Settings ( )

返回视图设置
Created in NX2007.0.0.

License requirements : None

◆ SetViewName() [1/2]

void NXOpen::Annotations::LightweightSectionBuilder::SetViewName ( const char * viewName)

设置轻量剖切视图的名称
Created in NX7.5.0.

License requirements : geometric_tol ("GDT")

参数
viewNameSection name

◆ SetViewName() [2/2]

void NXOpen::Annotations::LightweightSectionBuilder::SetViewName ( const NXString & viewName)

设置轻量剖切视图的名称
Created in NX7.5.0.

License requirements : geometric_tol ("GDT")

参数
viewNameSection name

◆ ViewName()

NXString NXOpen::Annotations::LightweightSectionBuilder::ViewName ( )

返回轻量剖切视图的名称
Created in NX7.5.0.

License requirements : None