|
NX Open C++ 参考指南 2406 v1.1
|
机械管线布置首选项 更多...
#include <Preferences_RoutingMechanical.hxx>
Public 类型 | |
| enum | LineColorType { LineColorTypeUnknown = -1 , LineColorTypeName , LineColorTypeIndex , LineColorTypeRgb , LineColorTypeHex , LineColorTypeMax } |
Public 成员函数 | |
| bool | GetIsInitialized () |
| std::vector< NXString > | GetLineColors () |
| std::vector< NXOpen::Preferences::RoutingMechanical::LineColorType > | GetLineColorTypes () |
| std::vector< int > | GetLineFontIndices () |
| std::vector< NXString > | GetLineFonts () |
| std::vector< int > | GetLineWidths () |
| std::vector< NXString > | GetRunTypeNames () |
| tag_t | Tag () const |
机械管线布置首选项
RoutingMechanical对象存储一组管路机械首选项。
要获取此类的实例,请参考NXOpen::Preferences::RoutingApplicationView
在NX4.0.0版本创建。
| bool NXOpen::Preferences::RoutingMechanical::GetIsInitialized | ( | ) |
判断应用视图文件中是否存在机械首选项部分。
| std::vector< NXString > NXOpen::Preferences::RoutingMechanical::GetLineColors | ( | ) |
获取管路颜色的名称、索引或RGB字符串(十六进制或逗号分隔)
| std::vector< NXOpen::Preferences::RoutingMechanical::LineColorType > NXOpen::Preferences::RoutingMechanical::GetLineColorTypes | ( | ) |
获取line_color字段中的字符串类型。有效值由NXOpen::Preferences::RoutingMechanical::LineColorType指定。
| std::vector< int > NXOpen::Preferences::RoutingMechanical::GetLineFontIndices | ( | ) |
获取线型索引:应用于管路段的线型(当前支持1-7),0表示未知线型
| std::vector< NXString > NXOpen::Preferences::RoutingMechanical::GetLineFonts | ( | ) |
获取要应用于管路段的线型名称,仅当line_font_index为0时使用
| std::vector< int > NXOpen::Preferences::RoutingMechanical::GetLineWidths | ( | ) |
获取管路段的线宽(当前支持0-2)
| std::vector< NXString > NXOpen::Preferences::RoutingMechanical::GetRunTypeNames | ( | ) |
获取管路类型显示名称
| tag_t NXOpen::Preferences::RoutingMechanical::Tag | ( | ) | const |
返回此对象的标识。