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

局部放大视图构建器 更多...

#include <Drawings_DetailViewBuilder.hxx>

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

Public 类型

enum  LabelOnParentType {
  LabelOnParentTypeNone , LabelOnParentTypeCircle , LabelOnParentTypeNote , LabelOnParentTypeLabel ,
  LabelOnParentTypeEmbedded , LabelOnParentTypeBoundary , LabelOnParentTypeLabelOnBoundary
}
enum  Types {
  TypesUndefined = -1 , TypesCircular , TypesRectangleByCorners , TypesRectangleByCenterAndCorner ,
  TypesCustom
}

Public 成员函数

bool Associative ()
NXOpen::PointBoundaryPoint1 ()
NXOpen::PointBoundaryPoint2 ()
NXOpen::Drawings::HiddenObjectsBuilderHiddenObjects ()
NXOpen::Drawings::DetailViewBuilder::LabelOnParentType LabelOnParent ()
NXOpen::Drawings::HiddenObjectsBuilderNonSectionedObjects ()
NXOpen::Drawings::ViewPlacementBuilderOrigin ()
NXOpen::Drawings::ParentViewBuilderParent ()
NXOpen::Drawings::ViewScaleBuilderScale ()
NXOpen::Drawings::DraftingComponentSelectionBuilderSecondaryComponents ()
void SetAssociative (bool associative)
void SetBoundaryPoint1 (NXOpen::Point *boundaryPoint1)
void SetBoundaryPoint2 (NXOpen::Point *boundaryPoint2)
void SetLabelOnParent (NXOpen::Drawings::DetailViewBuilder::LabelOnParentType labelOnParent)
void SetType (NXOpen::Drawings::DetailViewBuilder::Types type)
NXOpen::Drawings::ViewStyleBuilderStyle ()
NXOpen::Drawings::DetailViewBuilder::Types Type ()
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 _DetailViewBuilderBuilder

详细描述

局部放大视图构建器

表示 @link NXOpen::Drawings::DetailView NXOpen::Drawings::DetailView@endlink 。此类用于创建和编辑局部放大图
 <br> 若要创建此类的新实例,请使用 @link NXOpen::Drawings::DraftingViewCollection::CreateDetailViewBuilder  NXOpen::Drawings::DraftingViewCollection::CreateDetailViewBuilder @endlink  <br>

默认值。

属性
Origin.AlignmentMethod Infer
Origin.AlignmentOption ToView
Scale.Denominator 1.0
Scale.Numerator 1.0
Scale.ScaleType Ratio
SecondaryComponents.ObjectType PrimaryGeometry
Style.ViewStyleGeneral.AngleSetting.Angle.Value 0
Style.ViewStyleGeneral.AngleSetting.Associative 0
Style.ViewStyleGeneral.AngleSetting.EvaluationPlane DrawingSheet
Style.ViewStyleOrientation.HingeLine.ReverseDirection false
Style.ViewStyleOrientation.HingeLine.VectorOption Inferred
Style.ViewStyleOrientation.Ovt.AssociativeOrientation 0


创建于NX6.0.0。

成员枚举类型说明

◆ LabelOnParentType

父视图上标签的显示类型

枚举值
LabelOnParentTypeNone 

无显示

LabelOnParentTypeCircle 

圆形

LabelOnParentTypeNote 

带注释的圆形

LabelOnParentTypeLabel 

带标签的圆形

LabelOnParentTypeEmbedded 

带嵌入注释的圆形

LabelOnParentTypeBoundary 

形状与边界相同

LabelOnParentTypeLabelOnBoundary 

带标签的边界

◆ Types

边界的类型

枚举值
TypesUndefined 

用于初始值

TypesCircular 

圆形边界

TypesRectangleByCorners 

由两个角定义的矩形边界

TypesRectangleByCenterAndCorner 

由中心和一个角定义的矩形边界

TypesCustom 

自定义边界(除非局部放大图已包含自定义边界,否则不应使用此类型)

成员函数说明

◆ Associative()

bool NXOpen::Drawings::DetailViewBuilder::Associative ( )

返回关联切换 如果视图是关联的并将关联设置为 false,视图将转换为独立的局部放大视图。否则,此设置无效
创建于 NX7.5.0。

许可要求:无

◆ BoundaryPoint1()

NXOpen::Point * NXOpen::Drawings::DetailViewBuilder::BoundaryPoint1 ( )

返回第一个边界点。对于以下类型,此点是边界的中心: NXOpen::Drawings::DetailViewBuilder::TypesCircularNXOpen::Drawings::DetailViewBuilder::TypesRectangleByCenterAndCorner。 对于以下类型,此边界点将为 NULL: NXOpen::Drawings::DetailViewBuilder::TypesCustom
创建于 NX6.0.0。

许可要求:无

◆ BoundaryPoint2()

NXOpen::Point * NXOpen::Drawings::DetailViewBuilder::BoundaryPoint2 ( )

返回第二个边界点。对于 NXOpen::Drawings::DetailViewBuilder::TypesCircular 类型,此点是圆上的点; 对于 NXOpen::Drawings::DetailViewBuilder::TypesRectangleByCenterAndCorner 类型,此点是角点。 对于以下类型,此边界点将为 NULL: NXOpen::Drawings::DetailViewBuilder::TypesCustom
创建于 NX6.0.0。

许可要求:无

◆ HiddenObjects()

NXOpen::Drawings::HiddenObjectsBuilder * NXOpen::Drawings::DetailViewBuilder::HiddenObjects ( )

返回视图中不显示的对象列表
于 NX6.0.0 版本创建。

许可证要求:无

◆ LabelOnParent()

NXOpen::Drawings::DetailViewBuilder::LabelOnParentType NXOpen::Drawings::DetailViewBuilder::LabelOnParent ( )

返回父视图上的标签
于 NX6.0.0 版本创建。

许可证要求:无

◆ NonSectionedObjects()

NXOpen::Drawings::HiddenObjectsBuilder * NXOpen::Drawings::DetailViewBuilder::NonSectionedObjects ( )

返回视图中不剖切的对象列表
于 NX6.0.0 版本创建。

许可证要求:无

◆ Origin()

NXOpen::Drawings::ViewPlacementBuilder * NXOpen::Drawings::DetailViewBuilder::Origin ( )

返回原点
创建于 NX6.0.0。

许可要求:无

◆ Parent()

NXOpen::Drawings::ParentViewBuilder * NXOpen::Drawings::DetailViewBuilder::Parent ( )

返回父视图
创建于 NX6.0.0。

许可要求:无

◆ Scale()

NXOpen::Drawings::ViewScaleBuilder * NXOpen::Drawings::DetailViewBuilder::Scale ( )

返回比例
创建于 NX6.0.0。

许可要求:无

◆ SecondaryComponents()

NXOpen::Drawings::DraftingComponentSelectionBuilder * NXOpen::Drawings::DetailViewBuilder::SecondaryComponents ( )

返回视图中的次要组件列表
于 NX11.0.0 版本创建。

许可证要求:无

◆ SetAssociative()

void NXOpen::Drawings::DetailViewBuilder::SetAssociative ( bool associative)

设置关联切换 如果视图是关联的并将关联设置为 false,视图将转换为独立的局部放大视图。否则,此设置无效
创建于 NX7.5.0。

许可要求:无

参数
associative关联

◆ SetBoundaryPoint1()

void NXOpen::Drawings::DetailViewBuilder::SetBoundaryPoint1 ( NXOpen::Point * boundaryPoint1)

设置第一个边界点。对于以下类型,此点是边界的中心: NXOpen::Drawings::DetailViewBuilder::TypesCircularNXOpen::Drawings::DetailViewBuilder::TypesRectangleByCenterAndCorner。 对于以下类型,此边界点将为 NULL: NXOpen::Drawings::DetailViewBuilder::TypesCustom
创建于 NX6.0.0。

许可要求:制图 ("DRAFTING")

参数
boundaryPoint1第一个边界点

◆ SetBoundaryPoint2()

void NXOpen::Drawings::DetailViewBuilder::SetBoundaryPoint2 ( NXOpen::Point * boundaryPoint2)

设置第二个边界点。对于 NXOpen::Drawings::DetailViewBuilder::TypesCircular 类型,此点是圆上的点; 对于 NXOpen::Drawings::DetailViewBuilder::TypesRectangleByCenterAndCorner 类型,此点是角点。 对于以下类型,此边界点将为 NULL: NXOpen::Drawings::DetailViewBuilder::TypesCustom
创建于 NX6.0.0。

许可要求:制图 ("DRAFTING")

参数
boundaryPoint2第二个边界点

◆ SetLabelOnParent()

void NXOpen::Drawings::DetailViewBuilder::SetLabelOnParent ( NXOpen::Drawings::DetailViewBuilder::LabelOnParentType labelOnParent)

设置父视图上的标签
于 NX6.0.0 版本创建。

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

参数
labelOnParentlabelonparent

◆ SetType()

void NXOpen::Drawings::DetailViewBuilder::SetType ( NXOpen::Drawings::DetailViewBuilder::Types type)

设置类型
于 NX6.0.0 版本创建。

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

参数
typetype

◆ Style()

NXOpen::Drawings::ViewStyleBuilder * NXOpen::Drawings::DetailViewBuilder::Style ( )

返回样式
于 NX6.0.0 版本创建。

许可证要求:无

◆ Type()

NXOpen::Drawings::DetailViewBuilder::Types NXOpen::Drawings::DetailViewBuilder::Type ( )

返回类型
于 NX6.0.0 版本创建。

许可证要求:无