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

制图注释构建器 更多...

#include <Annotations_DraftingNoteBuilder.hxx>

类 NXOpen::Annotations::DraftingNoteBuilder 继承关系图:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder NXOpen::Annotations::PmiNoteBuilder NXOpen::CAE::CaeNoteBuilder NXOpen::TDP::TemplateNoteBuilder NXOpen::Annotations::SheetMetalPMIBuilder NXOpen::Composites::PlyPMIBuilder NXOpen::CAE::AeroStructures::MarginAnnotBuilder

Public 类型

enum  TextAlign {
  TextAlignTop , TextAlignMiddle , TextAlignBottom , TextAlignBelowbottomExtToMax ,
  TextAlignBelowbottomExtToMaxUnderline , TextAlignBelowbottom , TextAlignBelowbottomUnderline , TextAlignBelowTopExtToMax ,
  TextAlignBelowTopExtToMaxUnderline , TextAlignBelowTop , TextAlignBelowTopUnderline
}
enum  ThicknessTypes { ThicknessTypesMedium , ThicknessTypesThick }

Public 成员函数

NXOpen::Annotations::ForeshorteningSymbolBuilderForeshorteningSymbol ()
NXOpen::SelectDisplayableObjectInherit ()
void InheritProperties (NXOpen::Annotations::SimpleDraftingAid *annotation, int recordNumber)
NXOpen::Annotations::LeaderBuilderLeader ()
NXOpen::Annotations::OriginBuilderOrigin ()
void SetTextAlignment (NXOpen::Annotations::DraftingNoteBuilder::TextAlign textAlignment)
void SetVerticalText (bool verticalText)
NXOpen::Annotations::StyleBuilderStyle ()
NXOpen::Annotations::TextWithEditControlsBuilderText ()
NXOpen::Annotations::DraftingNoteBuilder::TextAlign TextAlignment ()
bool VerticalText ()
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 _DraftingNoteBuilderBuilder

详细描述

制图注释构建器

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

属性
Text.TextBlock.CustomSymbolScale 1.0
Text.TextBlock.SymbolAspectRatio 1.0
Text.TextBlock.SymbolHeight 25.4 (毫米部件), 1.0 (英寸部件)
Text.TextBlock.SymbolLength 25.4 (毫米部件), 1.0 (英寸部件)
Text.TextBlock.SymbolPreferences UseCurrent
Text.TextBlock.SymbolScale 1.0
Text.TextBlock.SymbolSizeMethod ScaleAndAspectRatio


在 NX6.0.0 版本中创建。

成员枚举类型说明

◆ TextAlign

文本的引线上方文本对齐类型

枚举值
TextAlignTop 

顶部对齐

TextAlignMiddle 

中间对齐

TextAlignBottom 

底部对齐

TextAlignBelowbottomExtToMax 

底部延伸线下方对齐至最大

TextAlignBelowbottomExtToMaxUnderline 

底部延伸线下方对齐至最大并加下划线

TextAlignBelowbottom 

底部下方对齐

TextAlignBelowbottomUnderline 

底部下方对齐并加下划线

TextAlignBelowTopExtToMax 

顶部延伸线下方对齐至最大

TextAlignBelowTopExtToMaxUnderline 

顶部延伸线下方对齐至最大并加下划线

TextAlignBelowTop 

顶部下方对齐

TextAlignBelowTopUnderline 

顶部下方对齐并加下划线

◆ ThicknessTypes

文本粗细类型

枚举值
ThicknessTypesMedium 

中等粗细类型

ThicknessTypesThick 

粗体粗细类型

成员函数说明

◆ ForeshorteningSymbol()

NXOpen::Annotations::ForeshorteningSymbolBuilder * NXOpen::Annotations::DraftingNoteBuilder::ForeshorteningSymbol ( )

返回缩略符号构建器
创建于NX10.0.0.

许可要求:无

◆ Inherit()

NXOpen::SelectDisplayableObject * NXOpen::Annotations::DraftingNoteBuilder::Inherit ( )

返回从中继承属性的注释
创建于NX7.5.2.

许可要求:无

◆ InheritProperties()

void NXOpen::Annotations::DraftingNoteBuilder::InheritProperties ( NXOpen::Annotations::SimpleDraftingAid * annotation,
int recordNumber )

从注释继承属性
创建于NX7.5.2.

许可要求:无

参数
annotationannotation
recordNumberrecordnumber

◆ Leader()

NXOpen::Annotations::LeaderBuilder * NXOpen::Annotations::DraftingNoteBuilder::Leader ( )

返回注释的NXOpen::Annotations::LeaderBuilder
创建于NX6.0.0.

许可要求:无

◆ Origin()

NXOpen::Annotations::OriginBuilder * NXOpen::Annotations::DraftingNoteBuilder::Origin ( )

返回原点
创建于NX6.0.0.

许可要求:无

◆ SetTextAlignment()

void NXOpen::Annotations::DraftingNoteBuilder::SetTextAlignment ( NXOpen::Annotations::DraftingNoteBuilder::TextAlign textAlignment)

设置文本对齐方式
创建于NX6.0.0.

许可要求:drafting ("DRAFTING") 或 geometric_tol ("GDT") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING") 或 nx_2d_edit (" NX 2D Edit")

参数
textAlignmenttextalignment

◆ SetVerticalText()

void NXOpen::Annotations::DraftingNoteBuilder::SetVerticalText ( bool verticalText)

设置文本的垂直文本设置
创建于NX6.0.0.

许可要求:drafting ("DRAFTING") 或 geometric_tol ("GDT") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING") 或 nx_2d_edit (" NX 2D Edit")

参数
verticalTextverticaltext

◆ Style()

NXOpen::Annotations::StyleBuilder * NXOpen::Annotations::DraftingNoteBuilder::Style ( )

返回样式构建器
创建于NX6.0.0.

许可要求:无

◆ Text()

NXOpen::Annotations::TextWithEditControlsBuilder * NXOpen::Annotations::DraftingNoteBuilder::Text ( )

返回文本
创建于NX6.0.0.

许可要求:无

◆ TextAlignment()

NXOpen::Annotations::DraftingNoteBuilder::TextAlign NXOpen::Annotations::DraftingNoteBuilder::TextAlignment ( )

返回文本对齐方式
创建于NX6.0.0.

许可要求:drafting ("DRAFTING") 或 cam_base ("CAM BASE") 或 insp_programming ("INSPECTION PROGRAMMING") 或 nx_2d_edit (" NX 2D Edit")

◆ VerticalText()

bool NXOpen::Annotations::DraftingNoteBuilder::VerticalText ( )

返回文本的垂直文本设置
创建于NX6.0.0.

许可要求:无