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

布线首选项 更多...

#include <Preferences_RoutingPreferences.hxx>

Public 成员函数

bool ApplyJumpPathStyle ()
bool ApplyTranslucencyToExistingObjects ()
NXString CurrentDiscipline ()
int DisciplineIndex ()
bool DisplayConnectedPorts ()
std::vector< NXStringGetAllAvailableDisciplines ()
int InsulationTranslucency ()
int JumpPathColor ()
int JumpPathStyle ()
int JumpPathWidth ()
 NX_DEPRECATED ("已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SetSubdivideSegmentForFixturePartPlacementFlag。") void SetSubdivideSegmentForFixturePartPlacement(bool prefSubdivideSegment)
 NX_DEPRECATED ("已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SubdivideSegmentForFixturePartPlacementFlag。") bool SubdivideSegmentForFixturePartPlacement()
NXString OffsetExpressionString ()
double PortLength ()
void SetApplyJumpPathStyle (bool applyJumpPathStyle)
void SetApplyTranslucencyToExistingObjects (bool applyToExisting)
void SetCurrentDiscipline (const char *currentDiscipline)
void SetCurrentDiscipline (const NXString &currentDiscipline)
void SetDisciplineIndex (int disciplineIndex)
void SetDisplayConnectedPorts (bool displayConnectedPorts)
void SetInsulationTranslucency (int insulationTranslucency)
void SetJumpPathColor (int jumpPathColor)
void SetJumpPathStyle (int jumpPathStyle)
void SetJumpPathWidth (int jumpPathWidth)
void SetOffsetExpressionString (const char *offsetExpressionString)
void SetOffsetExpressionString (const NXString &offsetExpressionString)
void SetPortLength (double portLength)
void SetSpaceReservationTranslucency (int spaceReservationTranslucency)
void SetStockComponentFolder (const char *stockComponentFolder)
void SetStockComponentFolder (const NXString &stockComponentFolder)
void SetStockTranslucency (int stockTranslucency)
void SetUsePreferredPortPlacement (bool usePreferredPortPlacement)
int SpaceReservationTranslucency ()
NXString StockComponentFolder ()
int StockTranslucency ()
tag_t Tag () const
bool UsePreferredPortPlacement ()

详细描述

布线首选项

表示适用于整个会话的布线首选项集合。
要获取此类的实例,请参考NXOpen::Preferences::SessionPreferences

在NX1847.0.0版本创建。

成员函数说明

◆ ApplyJumpPathStyle()

bool NXOpen::Preferences::RoutingPreferences::ApplyJumpPathStyle ( )

获取管路系统设计器的是否按指定颜色、线型和线宽显示索道跳转路径的首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

◆ ApplyTranslucencyToExistingObjects()

bool NXOpen::Preferences::RoutingPreferences::ApplyTranslucencyToExistingObjects ( )

获取会话中对现有布线对象应用临时透明度的首选项
创建于NX2312.0.0。

许可要求: routing_base ("Routing Basic")

◆ CurrentDiscipline()

NXString NXOpen::Preferences::RoutingPreferences::CurrentDiscipline ( )

获取当前规则。若规则值为""(空字符串)表示无当前规则。
在NX1847.0.0版本创建。

许可要求:routing_base ("Routing Basic")

◆ DisciplineIndex()

int NXOpen::Preferences::RoutingPreferences::DisciplineIndex ( )

获取下一代布线规则首选项
在NX1847.0.0版本创建。

许可要求:routing_base ("Routing Basic")

◆ DisplayConnectedPorts()

bool NXOpen::Preferences::RoutingPreferences::DisplayConnectedPorts ( )

获取下一代布线显示已连接端口首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

◆ GetAllAvailableDisciplines()

std::vector< NXString > NXOpen::Preferences::RoutingPreferences::GetAllAvailableDisciplines ( )

获取当前应用视图中所有可用的布线规则。
在NX1847.0.0版本创建。

许可要求:routing_base ("Routing Basic")

◆ InsulationTranslucency()

int NXOpen::Preferences::RoutingPreferences::InsulationTranslucency ( )

获取下一代布线绝缘层透明度首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

◆ JumpPathColor()

int NXOpen::Preferences::RoutingPreferences::JumpPathColor ( )

获取管路系统设计器的索道跳转路径颜色首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

◆ JumpPathStyle()

int NXOpen::Preferences::RoutingPreferences::JumpPathStyle ( )

获取管路系统设计器的索道跳转路径线型首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

◆ JumpPathWidth()

int NXOpen::Preferences::RoutingPreferences::JumpPathWidth ( )

获取管路系统设计器的索道跳转路径线宽首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

◆ NX_DEPRECATED() [1/2]

NXOpen::Preferences::RoutingPreferences::NX_DEPRECATED ( "已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SetSubdivideSegmentForFixturePartPlacementFlag。" )

设置管路系统设计器的为夹具部件放置细分管段首选项。

弃用
已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SetSubdivideSegmentForFixturePartPlacementFlag

版本:NX1980.0.0

许可要求:routing_base ("Routing Basic")

细分管段首选项

◆ NX_DEPRECATED() [2/2]

NXOpen::Preferences::RoutingPreferences::NX_DEPRECATED ( "已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SubdivideSegmentForFixturePartPlacementFlag。" )

获取管路系统设计器的为夹具部件放置细分管段首选项。

弃用
已废弃:NX2206.0.0。请改用 NXOpen::RoutingCommon::PartPlacementBuilder::SubdivideSegmentForFixturePartPlacementFlag

版本:NX1980.0.0

许可要求:routing_base ("Routing Basic")

◆ OffsetExpressionString()

NXString NXOpen::Preferences::RoutingPreferences::OffsetExpressionString ( )

获取下一代布线偏移表达式字符串首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

◆ PortLength()

double NXOpen::Preferences::RoutingPreferences::PortLength ( )

获取下一代布线端口长度首选项,单位为部件单位
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

◆ SetApplyJumpPathStyle()

void NXOpen::Preferences::RoutingPreferences::SetApplyJumpPathStyle ( bool applyJumpPathStyle)

设置管路系统设计器的是否按指定颜色、线型和线宽显示索道跳转路径的首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

参数
applyJumpPathStyle应用跳转路径样式

◆ SetApplyTranslucencyToExistingObjects()

void NXOpen::Preferences::RoutingPreferences::SetApplyTranslucencyToExistingObjects ( bool applyToExisting)

设置会话中对现有布线对象应用临时透明度的首选项
创建于NX2312.0.0。

许可要求: routing_base ("Routing Basic")

参数
applyToExisting应用到现有对象

◆ SetCurrentDiscipline() [1/2]

void NXOpen::Preferences::RoutingPreferences::SetCurrentDiscipline ( const char * currentDiscipline)

设置当前规则。若规则值为""(空字符串)表示无当前规则。
在NX1847.0.0版本创建。

许可要求:routing_base ("Routing Basic")

参数
currentDiscipline当前规则

◆ SetCurrentDiscipline() [2/2]

void NXOpen::Preferences::RoutingPreferences::SetCurrentDiscipline ( const NXString & currentDiscipline)

设置当前规则。若规则值为""(空字符串)表示无当前规则。
在NX1847.0.0版本创建。

许可要求:routing_base ("Routing Basic")

参数
currentDiscipline当前规则

◆ SetDisciplineIndex()

void NXOpen::Preferences::RoutingPreferences::SetDisciplineIndex ( int disciplineIndex)

设置下一代布线规则首选项
在NX1847.0.0版本创建。

许可要求:routing_base ("Routing Basic")

参数
disciplineIndex规则索引

◆ SetDisplayConnectedPorts()

void NXOpen::Preferences::RoutingPreferences::SetDisplayConnectedPorts ( bool displayConnectedPorts)

设置下一代布线显示已连接端口首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
displayConnectedPorts显示已连接端口

◆ SetInsulationTranslucency()

void NXOpen::Preferences::RoutingPreferences::SetInsulationTranslucency ( int insulationTranslucency)

设置下一代布线绝缘层透明度首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
insulationTranslucency绝缘层透明度

◆ SetJumpPathColor()

void NXOpen::Preferences::RoutingPreferences::SetJumpPathColor ( int jumpPathColor)

设置管路系统设计器的索道跳转路径颜色首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

参数
jumpPathColor跳转路径颜色

◆ SetJumpPathStyle()

void NXOpen::Preferences::RoutingPreferences::SetJumpPathStyle ( int jumpPathStyle)

设置管路系统设计器的索道跳转路径线型首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

参数
jumpPathStyle跳转路径线型

◆ SetJumpPathWidth()

void NXOpen::Preferences::RoutingPreferences::SetJumpPathWidth ( int jumpPathWidth)

设置管路系统设计器的索道跳转路径线宽首选项
版本:NX2312.0.0

许可要求:routing_base ("Routing Basic")

参数
jumpPathWidth跳转路径线宽

◆ SetOffsetExpressionString() [1/2]

void NXOpen::Preferences::RoutingPreferences::SetOffsetExpressionString ( const char * offsetExpressionString)

设置下一代布线偏移表达式字符串首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
offsetExpressionString偏移表达式字符串

◆ SetOffsetExpressionString() [2/2]

void NXOpen::Preferences::RoutingPreferences::SetOffsetExpressionString ( const NXString & offsetExpressionString)

设置下一代布线偏移表达式字符串首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
offsetExpressionString偏移表达式字符串

◆ SetPortLength()

void NXOpen::Preferences::RoutingPreferences::SetPortLength ( double portLength)

设置下一代布线端口长度首选项,单位为部件单位
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
portLength端口长度

◆ SetSpaceReservationTranslucency()

void NXOpen::Preferences::RoutingPreferences::SetSpaceReservationTranslucency ( int spaceReservationTranslucency)

设置下一代布线预留空间透明度首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
spaceReservationTranslucency预留空间透明度

◆ SetStockComponentFolder() [1/2]

void NXOpen::Preferences::RoutingPreferences::SetStockComponentFolder ( const char * stockComponentFolder)

设置管路系统设计器的管料部件文件夹首选项
版本:NX1926.0.0

许可要求:routing_base ("Routing Basic")

参数
stockComponentFolder管料部件文件夹

◆ SetStockComponentFolder() [2/2]

void NXOpen::Preferences::RoutingPreferences::SetStockComponentFolder ( const NXString & stockComponentFolder)

设置管路系统设计器的管料部件文件夹首选项
版本:NX1926.0.0

许可要求:routing_base ("Routing Basic")

参数
stockComponentFolder管料部件文件夹

◆ SetStockTranslucency()

void NXOpen::Preferences::RoutingPreferences::SetStockTranslucency ( int stockTranslucency)

设置下一代布线管架透明度首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

参数
stockTranslucency管架透明度

◆ SetUsePreferredPortPlacement()

void NXOpen::Preferences::RoutingPreferences::SetUsePreferredPortPlacement ( bool usePreferredPortPlacement)

设置管路系统设计器的使用首选端口放置首选项
版本:NX1926.0.0

许可要求:routing_base ("Routing Basic")

参数
usePreferredPortPlacement使用首选端口放置

◆ SpaceReservationTranslucency()

int NXOpen::Preferences::RoutingPreferences::SpaceReservationTranslucency ( )

获取下一代布线预留空间透明度首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

◆ StockComponentFolder()

NXString NXOpen::Preferences::RoutingPreferences::StockComponentFolder ( )

获取布线系统设计器管架部件文件夹首选项
创建于NX1926.0.0。

许可要求: routing_base ("Routing Basic")

◆ StockTranslucency()

int NXOpen::Preferences::RoutingPreferences::StockTranslucency ( )

获取下一代布线管架透明度首选项
创建于NX1847.0.0。

许可要求: routing_base ("Routing Basic")

◆ Tag()

tag_t NXOpen::Preferences::RoutingPreferences::Tag ( ) const

返回此对象的标识。

◆ UsePreferredPortPlacement()

bool NXOpen::Preferences::RoutingPreferences::UsePreferredPortPlacement ( )

获取管路系统设计器的使用首选端口放置首选项
版本:NX1926.0.0

许可要求:routing_base ("Routing Basic")