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

通用视图样式类 更多...

#include <Drawings_GeneralViewStyle.hxx>

类 NXOpen::Drawings::GeneralViewStyle 继承关系图:
NXOpen::Preferences::IGeneralViewPreferences

Public 成员函数

double Angle ()
NXOpen::Preferences::DecimalPointCharacter AngleDecimalPointFormat ()
NXOpen::Preferences::AngleFormat AngleFormat ()
int AnglePrecision ()
NXOpen::ScalarAssociativeAngle ()
bool AutomaticAnchorPoint ()
bool AutomaticUpdate ()
bool BoundaryStatus ()
NXOpen::Preferences::GeneralDisplayIdOption DisplayId ()
NXOpen::ExpressionExpressionForScale ()
NXOpen::Preferences::GeneralExtractedEdgesOption ExtractedEdges ()
bool LegacyView ()
bool LightweightView ()
NXOpen::Preferences::GeneralViewLockmethodOption LockmethodView ()
 NX_DEPRECATED ("Deprecated in NX11.0.1. Use NXOpen::Drawings::GeneralViewStyle::LockmethodView instead.") bool SnapshotView()
 NX_DEPRECATED ("Deprecated in NX11.0.1. Use NXOpen::Drawings::GeneralViewStyle::SetLockmethodView instead.") void SetSnapshotView(bool snapshotView)
bool Reference ()
int RenderCount ()
double Scale ()
bool ScaleLabel ()
void SetAngle (double angle)
void SetAngleDecimalPointFormat (NXOpen::Preferences::DecimalPointCharacter format)
void SetAngleFormat (NXOpen::Preferences::AngleFormat angleFormat)
void SetAnglePrecision (int anglePrecision)
void SetAssociativeAngle (NXOpen::Scalar *angle)
void SetAutomaticAnchorPoint (bool automaticAnchorPoint)
void SetAutomaticUpdate (bool automaticUpdate)
void SetBoundaryStatus (bool boundaryStatus)
void SetCenterlines (bool centerlines)
void SetDisplayId (NXOpen::Preferences::GeneralDisplayIdOption option)
void SetExpressionForScale (NXOpen::Expression *expressionForScale)
void SetExtractedEdges (NXOpen::Preferences::GeneralExtractedEdgesOption edgesOption)
void SetFramebarHorizontal (bool framebarHorizontal)
void SetFramebarVertical (bool framebarVertical)
void SetLegacyView (bool legacyView)
void SetLightweightView (bool lightweightView)
void SetLockmethodView (NXOpen::Preferences::GeneralViewLockmethodOption lockmethodView)
void SetReference (bool reference)
void SetRenderCount (int renderCount)
void SetScale (double scale)
void SetScaleLabel (bool scaleLabel)
void SetShowAngleLeadingZeros (bool show)
void SetShowAngleTrailingZeros (bool show)
void SetSilhouettes (bool silhouettes)
void SetTolerance (double tolerance)
void SetUvGrid (bool uvGrid)
void SetViewLabel (bool viewLabel)
void SetViewQuality (NXOpen::Preferences::GeneralViewQualityOption qualityOption)
void SetViewRepresentation (NXOpen::Preferences::GeneralViewRepresentationOption viewRepresentation)
void SetWireframeColorSource (NXOpen::Preferences::GeneralWireframeColorSourceOption colorOption)
bool ShowAngleLeadingZeros ()
bool ShowAngleTrailingZeros ()
bool Silhouettes ()
tag_t Tag () const
double Tolerance ()
bool UvGrid ()
bool ViewLabel ()
NXOpen::Preferences::GeneralViewQualityOption ViewQuality ()
NXOpen::Preferences::GeneralViewRepresentationOption ViewRepresentation ()
NXOpen::Preferences::GeneralWireframeColorSourceOption WireframeColorSource ()

详细描述

通用视图样式类

表示适用于工程图视图的通用视图样式首选项集合。
要获取此类的实例,请使用 Drawings::ViewStyle::General

在 NX5.0.0 中创建。

成员函数说明

◆ Angle()

double NXOpen::Drawings::GeneralViewStyle::Angle ( )

返回成员视图的角度值。
创建于NX5.0.0。

许可证要求:无

◆ AngleDecimalPointFormat()

NXOpen::Preferences::DecimalPointCharacter NXOpen::Drawings::GeneralViewStyle::AngleDecimalPointFormat ( )

返回视图角度显示的小数点字符。
创建于 NX8.5.0。

许可要求:无

◆ AngleFormat()

NXOpen::Preferences::AngleFormat NXOpen::Drawings::GeneralViewStyle::AngleFormat ( )

返回视图角度显示的格式。
创建于 NX8.5.0。

许可要求:无

◆ AnglePrecision()

int NXOpen::Drawings::GeneralViewStyle::AnglePrecision ( )

返回视图角度显示的精度。
创建于 NX8.5.0。

许可要求:无

◆ AssociativeAngle()

NXOpen::Scalar * NXOpen::Drawings::GeneralViewStyle::AssociativeAngle ( )

返回成员视图的角度值。
创建于NX11.0.0。

许可证要求:无

◆ AutomaticAnchorPoint()

bool NXOpen::Drawings::GeneralViewStyle::AutomaticAnchorPoint ( )

返回自动锚点状态。
创建于NX5.0.0。

许可证要求:无

◆ AutomaticUpdate()

bool NXOpen::Drawings::GeneralViewStyle::AutomaticUpdate ( )

返回自动更新状态,若为true,则在模型变更后更新位置、隐藏线、轮廓、视图边界、剖视图和剖视图细节;否则模型变更后不更新上述项目。
创建于NX5.0.0。

许可证要求:无

◆ BoundaryStatus()

bool NXOpen::Drawings::GeneralViewStyle::BoundaryStatus ( )

返回边界状态。
创建于NX5.0.0。

许可证要求:无

◆ DisplayId()

NXOpen::Preferences::GeneralDisplayIdOption NXOpen::Drawings::GeneralViewStyle::DisplayId ( )

返回成员视图的显示标识符选项。
创建于 NX7.5.0。

许可证要求:无

◆ ExpressionForScale()

NXOpen::Expression * NXOpen::Drawings::GeneralViewStyle::ExpressionForScale ( )

返回比例表达式。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

◆ ExtractedEdges()

NXOpen::Preferences::GeneralExtractedEdgesOption NXOpen::Drawings::GeneralViewStyle::ExtractedEdges ( )

返回提取边,该提取边提供在工程图视图中显示模型几何的替代方法。
创建于 NX5.0.0。

许可证要求:无

◆ LegacyView()

bool NXOpen::Drawings::GeneralViewStyle::LegacyView ( )

返回视图样式对话框“常规”选项卡上的旧视图开关。
创建于 NX8.0.0。

许可证要求:无

◆ LightweightView()

bool NXOpen::Drawings::GeneralViewStyle::LightweightView ( )

返回视图样式对话框“常规”选项卡上的视图表示枚举。
创建于 NX8.0.0。

许可证要求:无

◆ LockmethodView()

NXOpen::Preferences::GeneralViewLockmethodOption NXOpen::Drawings::GeneralViewStyle::LockmethodView ( )

返回视图样式对话框“配置”选项卡上的锁定方法设置。
创建于 NX11.0.1。

许可证要求:无

◆ NX_DEPRECATED() [1/2]

NXOpen::Drawings::GeneralViewStyle::NX_DEPRECATED ( "Deprecated in NX11.0.1. Use NXOpen::Drawings::GeneralViewStyle::LockmethodView instead." )

返回视图样式对话框“常规”选项卡上的快照开关。

弃用
已在 NX11.0.1 中弃用。请使用 NXOpen::Drawings::GeneralViewStyle::LockmethodView 替代。

创建于 NX8.0.0。

许可证要求:无

◆ NX_DEPRECATED() [2/2]

NXOpen::Drawings::GeneralViewStyle::NX_DEPRECATED ( "Deprecated in NX11.0.1. Use NXOpen::Drawings::GeneralViewStyle::SetLockmethodView instead." )

设置视图样式对话框“常规”选项卡上的快照开关。

弃用
已在 NX11.0.1 中弃用。请使用 NXOpen::Drawings::GeneralViewStyle::SetLockmethodView 替代。

创建于 NX8.0.0。

许可证要求:drafting ("DRAFTING")

在常规子构建器上设置快照视图开关值

◆ Reference()

bool NXOpen::Drawings::GeneralViewStyle::Reference ( )

获取参考状态,该状态可将视图从活动状态切换为参考状态。如果为 true,则该视图被视为参考视图。
在 NX5.0.0 中创建。

许可证要求:无

◆ RenderCount()

int NXOpen::Drawings::GeneralViewStyle::RenderCount ( )

返回渲染计数。
创建于NX5.0.0。

许可证要求:无

◆ Scale()

double NXOpen::Drawings::GeneralViewStyle::Scale ( )

返回成员视图的比例。
创建于NX5.0.0。

许可证要求:无

◆ ScaleLabel()

bool NXOpen::Drawings::GeneralViewStyle::ScaleLabel ( )

返回比例标签的显示状态。
创建于NX5.0.0。

许可证要求:无

◆ SetAngle()

void NXOpen::Drawings::GeneralViewStyle::SetAngle ( double angle)

设置成员视图的角度值。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
angle角度

◆ SetAngleDecimalPointFormat()

void NXOpen::Drawings::GeneralViewStyle::SetAngleDecimalPointFormat ( NXOpen::Preferences::DecimalPointCharacter format)

设置视图角度显示的小数点字符。
创建于 NX8.5.0。

许可要求: drafting ("DRAFTING")

参数
format格式

◆ SetAngleFormat()

void NXOpen::Drawings::GeneralViewStyle::SetAngleFormat ( NXOpen::Preferences::AngleFormat angleFormat)

设置视图角度显示的格式。
创建于 NX8.5.0。

许可要求: drafting ("DRAFTING")

参数
angleFormat角度格式

◆ SetAnglePrecision()

void NXOpen::Drawings::GeneralViewStyle::SetAnglePrecision ( int anglePrecision)

设置视图角度显示的精度。
创建于 NX8.5.0。

许可要求: drafting ("DRAFTING")

参数
anglePrecision角度精度

◆ SetAssociativeAngle()

void NXOpen::Drawings::GeneralViewStyle::SetAssociativeAngle ( NXOpen::Scalar * angle)

设置成员视图的角度值。
创建于NX11.0.0。

许可证要求:drafting ("DRAFTING")

参数
angle角度

◆ SetAutomaticAnchorPoint()

void NXOpen::Drawings::GeneralViewStyle::SetAutomaticAnchorPoint ( bool automaticAnchorPoint)

设置自动锚点状态。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
automaticAnchorPoint自动锚点

◆ SetAutomaticUpdate()

void NXOpen::Drawings::GeneralViewStyle::SetAutomaticUpdate ( bool automaticUpdate)

设置自动更新状态,若为true,则在模型变更后更新位置、隐藏线、轮廓、视图边界、剖视图和剖视图细节;否则模型变更后不更新上述项目。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
automaticUpdate自动更新

◆ SetBoundaryStatus()

void NXOpen::Drawings::GeneralViewStyle::SetBoundaryStatus ( bool boundaryStatus)

设置边界状态。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
boundaryStatus边界状态

◆ SetCenterlines()

void NXOpen::Drawings::GeneralViewStyle::SetCenterlines ( bool centerlines)

中心线状态,若为true则自动为孔或销轴线垂直或平行于图纸视图平面的视图创建线性、圆柱和螺栓圆中心线(含圆形实例组)。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
centerlines中心线

◆ SetDisplayId()

void NXOpen::Drawings::GeneralViewStyle::SetDisplayId ( NXOpen::Preferences::GeneralDisplayIdOption option)

设置成员视图的显示标识符选项。
创建于 NX7.5.0。

许可要求: drafting ("DRAFTING")

参数
option选项

◆ SetExpressionForScale()

void NXOpen::Drawings::GeneralViewStyle::SetExpressionForScale ( NXOpen::Expression * expressionForScale)

设置比例表达式。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
expressionForScale比例表达式

◆ SetExtractedEdges()

void NXOpen::Drawings::GeneralViewStyle::SetExtractedEdges ( NXOpen::Preferences::GeneralExtractedEdgesOption edgesOption)

设置提取边,该提取边提供在工程图视图中显示模型几何的替代方法。
创建于 NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
edgesOption边选项

◆ SetFramebarHorizontal()

void NXOpen::Drawings::GeneralViewStyle::SetFramebarHorizontal ( bool framebarHorizontal)

水平图框栏状态,若为true,会为视图轴与船舶轴匹配的视图自动创建水平图框栏。
创建于 NX8.0.0。

许可要求: drafting ("DRAFTING")

参数
framebarHorizontal水平图框栏

◆ SetFramebarVertical()

void NXOpen::Drawings::GeneralViewStyle::SetFramebarVertical ( bool framebarVertical)

垂直图框栏状态,若为true,会为视图轴与船舶轴匹配的视图自动创建垂直图框栏。
创建于 NX8.0.0。

许可要求: drafting ("DRAFTING")

参数
framebarVertical垂直图框栏

◆ SetLegacyView()

void NXOpen::Drawings::GeneralViewStyle::SetLegacyView ( bool legacyView)

设置视图样式对话框“常规”选项卡上的旧视图开关。
创建于 NX8.0.0。

许可证要求:drafting ("DRAFTING")

参数
legacyView在常规子构建器上设置旧视图开关值

◆ SetLightweightView()

void NXOpen::Drawings::GeneralViewStyle::SetLightweightView ( bool lightweightView)

设置视图样式对话框“常规”选项卡上的视图表示枚举。
创建于 NX8.0.0。

许可证要求:drafting ("DRAFTING")

参数
lightweightView在常规子构建器上设置视图表示选项

◆ SetLockmethodView()

void NXOpen::Drawings::GeneralViewStyle::SetLockmethodView ( NXOpen::Preferences::GeneralViewLockmethodOption lockmethodView)

设置视图样式对话框“配置”选项卡上的锁定方法设置。
创建于 NX11.0.1。

许可证要求:drafting ("DRAFTING")

参数
lockmethodView在常规子构建器上设置锁定方法选项

◆ SetReference()

void NXOpen::Drawings::GeneralViewStyle::SetReference ( bool reference)

设置参考状态,该状态可将视图从活动状态切换为参考状态。如果为 true,则该视图被视为参考视图。
在 NX5.0.0 中创建。

许可证要求:drafting ("DRAFTING")

参数
reference参考

◆ SetRenderCount()

void NXOpen::Drawings::GeneralViewStyle::SetRenderCount ( int renderCount)

设置渲染计数。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
renderCount渲染计数

◆ SetScale()

void NXOpen::Drawings::GeneralViewStyle::SetScale ( double scale)

设置成员视图的比例。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
scale比例

◆ SetScaleLabel()

void NXOpen::Drawings::GeneralViewStyle::SetScaleLabel ( bool scaleLabel)

设置比例标签的显示状态。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
scaleLabel比例标签

◆ SetShowAngleLeadingZeros()

void NXOpen::Drawings::GeneralViewStyle::SetShowAngleLeadingZeros ( bool show)

设置视图角度显示前导零的状态。
创建于 NX8.5.0。

许可要求: drafting ("DRAFTING")

参数
show显示

◆ SetShowAngleTrailingZeros()

void NXOpen::Drawings::GeneralViewStyle::SetShowAngleTrailingZeros ( bool show)

设置视图角度显示尾随零的状态。
创建于 NX8.5.0。

许可要求: drafting ("DRAFTING")

参数
show显示

◆ SetSilhouettes()

void NXOpen::Drawings::GeneralViewStyle::SetSilhouettes ( bool silhouettes)

设置轮廓曲线的状态,如果为 true,则为选中的工程图成员视图添加轮廓;否则,从选中的成员视图中移除轮廓。
在 NX5.0.0 中创建。

许可证要求:drafting ("DRAFTING")

参数
silhouettes轮廓

◆ SetTolerance()

void NXOpen::Drawings::GeneralViewStyle::SetTolerance ( double tolerance)

设置公差值,该值指定给定图纸视图中轮廓线和隐藏线生成的弦高公差。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
tolerance公差

◆ SetUvGrid()

void NXOpen::Drawings::GeneralViewStyle::SetUvGrid ( bool uvGrid)

设置UV网格状态,若为true,则为选中的工程图成员视图添加网格曲线;否则从选中的成员视图中移除网格曲线。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
uvGriduv网格

◆ SetViewLabel()

void NXOpen::Drawings::GeneralViewStyle::SetViewLabel ( bool viewLabel)

设置视图标签的显示状态。
创建于NX5.0.0。

许可证要求:drafting ("DRAFTING")

参数
viewLabel视图标签

◆ SetViewQuality()

void NXOpen::Drawings::GeneralViewStyle::SetViewQuality ( NXOpen::Preferences::GeneralViewQualityOption qualityOption)

设置视图质量,该质量提供在工程图视图中显示模型几何的替代方法。
创建于 NX8.0.0。

许可证要求:drafting ("DRAFTING")

参数
qualityOption质量选项

◆ SetViewRepresentation()

void NXOpen::Drawings::GeneralViewStyle::SetViewRepresentation ( NXOpen::Preferences::GeneralViewRepresentationOption viewRepresentation)

设置视图样式对话框“常规”选项卡上的视图表示枚举。
创建于NX8.5.0。

许可证要求:drafting ("DRAFTING")

参数
viewRepresentation在视图上设置视图表示选项

◆ SetWireframeColorSource()

void NXOpen::Drawings::GeneralViewStyle::SetWireframeColorSource ( NXOpen::Preferences::GeneralWireframeColorSourceOption colorOption)

设置成员视图的线框颜色源。
创建于 NX6.0.0。

许可证要求:drafting ("DRAFTING")

参数
colorOption颜色选项

◆ ShowAngleLeadingZeros()

bool NXOpen::Drawings::GeneralViewStyle::ShowAngleLeadingZeros ( )

返回视图角度显示前导零的状态。
创建于 NX8.5.0。

许可要求:无

◆ ShowAngleTrailingZeros()

bool NXOpen::Drawings::GeneralViewStyle::ShowAngleTrailingZeros ( )

返回视图角度显示尾随零的状态。
创建于 NX8.5.0。

许可要求:无

◆ Silhouettes()

bool NXOpen::Drawings::GeneralViewStyle::Silhouettes ( )

获取轮廓曲线的状态,如果为 true,则为选中的工程图成员视图添加轮廓;否则,从选中的成员视图中移除轮廓。
在 NX5.0.0 中创建。

许可证要求:无

◆ Tag()

tag_t NXOpen::Drawings::GeneralViewStyle::Tag ( ) const

获取此对象的标签。

◆ Tolerance()

double NXOpen::Drawings::GeneralViewStyle::Tolerance ( )

返回公差值,该值指定给定图纸视图中轮廓线和隐藏线生成的弦高公差。
创建于NX5.0.0。

许可证要求:无

◆ UvGrid()

bool NXOpen::Drawings::GeneralViewStyle::UvGrid ( )

返回UV网格状态,若为true,则为选中的工程图成员视图添加网格曲线;否则从选中的成员视图中移除网格曲线。
创建于NX5.0.0。

许可证要求:无

◆ ViewLabel()

bool NXOpen::Drawings::GeneralViewStyle::ViewLabel ( )

返回视图标签的显示状态。
创建于NX5.0.0。

许可证要求:无

◆ ViewQuality()

NXOpen::Preferences::GeneralViewQualityOption NXOpen::Drawings::GeneralViewStyle::ViewQuality ( )

返回视图质量,该值提供图纸视图中模型几何的替代显示方式。
创建于NX8.0.0。

许可证要求:无

◆ ViewRepresentation()

NXOpen::Preferences::GeneralViewRepresentationOption NXOpen::Drawings::GeneralViewStyle::ViewRepresentation ( )

返回视图样式对话框“常规”选项卡上的视图表示枚举。
创建于NX8.5.0。

许可证要求:无

◆ WireframeColorSource()

NXOpen::Preferences::GeneralWireframeColorSourceOption NXOpen::Drawings::GeneralViewStyle::WireframeColorSource ( )

返回成员视图的线框颜色源。
创建于 NX6.0.0。

许可证要求:无