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

布线用户首选项 更多...

#include <Preferences_RoutingUserPreferences.hxx>

Public 成员函数

bool GetDoubleArrayPreference (const char *name, std::vector< double > &values)
bool GetDoubleArrayPreference (const NXString &name, std::vector< double > &values)
bool GetDoublePreference (const char *name, double *value)
bool GetDoublePreference (const NXString &name, double *value)
bool GetIntegerArrayPreference (const char *name, std::vector< int > &values)
bool GetIntegerArrayPreference (const NXString &name, std::vector< int > &values)
bool GetIntegerPreference (const char *name, int *value)
bool GetIntegerPreference (const NXString &name, int *value)
bool GetStringArrayPreference (const char *name, std::vector< NXString > &values)
bool GetStringArrayPreference (const NXString &name, std::vector< NXString > &values)
bool GetStringPreference (const char *name, NXString *value)
bool GetStringPreference (const NXString &name, NXString *value)
void SetDoubleArrayPreference (const char *name, const std::vector< double > &values)
void SetDoubleArrayPreference (const NXString &name, const std::vector< double > &values)
void SetDoublePreference (const char *name, double value)
void SetDoublePreference (const NXString &name, double value)
void SetIntegerArrayPreference (const char *name, const std::vector< int > &values)
void SetIntegerArrayPreference (const NXString &name, const std::vector< int > &values)
void SetIntegerPreference (const char *name, int value)
void SetIntegerPreference (const NXString &name, int value)
void SetStringArrayPreference (const char *name, std::vector< NXString > &values)
void SetStringArrayPreference (const NXString &name, std::vector< NXString > &values)
void SetStringPreference (const char *name, const char *value)
void SetStringPreference (const NXString &name, const NXString &value)
tag_t Tag () const

详细描述

布线用户首选项

用于访问布线应用视图文件中的用户首选项部分。
要获取此类的实例,请参考NXOpen::Preferences::RoutingApplicationView

创建于NX11.0.1。

成员函数说明

◆ GetDoubleArrayPreference() [1/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetDoubleArrayPreference ( const char * name,
std::vector< double > & values )

从应用视图文件中获取指定名称的双精度数组型用户首选项的值。

返回
是否在应用视图文件中找到该首选项?
创建于NX11.0.1。

许可证要求:routing_base ("Routing Basic")
参数
name用户首选项的名称。
values若找到,返回首选项的值。

◆ GetDoubleArrayPreference() [2/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetDoubleArrayPreference ( const NXString & name,
std::vector< double > & values )

从应用视图文件中获取指定名称的双精度数组型用户首选项的值。

返回
是否在应用视图文件中找到该首选项?
创建于NX11.0.1。

许可证要求:routing_base ("Routing Basic")
参数
name用户首选项的名称。
values若找到,返回首选项的值。

◆ GetDoublePreference() [1/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetDoublePreference ( const char * name,
double * value )

从应用视图文件中获取指定名称的双精度型用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
value若找到,返回首选项的值。

◆ GetDoublePreference() [2/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetDoublePreference ( const NXString & name,
double * value )

从应用视图文件中获取指定名称的双精度型用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
value若找到,返回首选项的值。

◆ GetIntegerArrayPreference() [1/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetIntegerArrayPreference ( const char * name,
std::vector< int > & values )

从应用视图文件中获取指定名称的整数数组用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
values若找到,返回首选项的值。

◆ GetIntegerArrayPreference() [2/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetIntegerArrayPreference ( const NXString & name,
std::vector< int > & values )

从应用视图文件中获取指定名称的整数数组用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
values若找到,返回首选项的值。

◆ GetIntegerPreference() [1/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetIntegerPreference ( const char * name,
int * value )

从应用视图文件中获取指定名称的整数型用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
value若找到,返回首选项的值。

◆ GetIntegerPreference() [2/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetIntegerPreference ( const NXString & name,
int * value )

从应用视图文件中获取指定名称的整数型用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
value若找到,返回首选项的值。

◆ GetStringArrayPreference() [1/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetStringArrayPreference ( const char * name,
std::vector< NXString > & values )

从应用视图文件中获取指定名称的字符串数组用户首选项的值。

返回
该首选项是否在应用视图文件中找到?
创建于NX11.0.1。

许可证要求: routing_base ("Routing Basic")
参数
name用户首选项的名称。
values若找到,返回首选项的值。

◆ GetStringArrayPreference() [2/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetStringArrayPreference ( const NXString & name,
std::vector< NXString > & values )

从应用视图文件中获取指定名称的字符串数组型用户首选项的值。

返回
是否在应用视图文件中找到该首选项?
创建于NX11.0.1。

许可要求:routing_base("基础布线")
参数
name用户首选项的名称。
values找到的首选项的值。

◆ GetStringPreference() [1/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetStringPreference ( const char * name,
NXString * value )

从应用视图文件中获取指定名称的字符串型用户首选项的值。

返回
是否在应用视图文件中找到该首选项?
创建于NX11.0.1。

许可要求:routing_base("基础布线")
参数
name用户首选项的名称。
value找到的首选项的值。

◆ GetStringPreference() [2/2]

bool NXOpen::Preferences::RoutingUserPreferences::GetStringPreference ( const NXString & name,
NXString * value )

从应用视图文件中获取指定名称的字符串型用户首选项的值。

返回
是否在应用视图文件中找到该首选项?
创建于NX11.0.1。

许可要求:routing_base("基础布线")
参数
name用户首选项的名称。
value找到的首选项的值。

◆ SetDoubleArrayPreference() [1/2]

void NXOpen::Preferences::RoutingUserPreferences::SetDoubleArrayPreference ( const char * name,
const std::vector< double > & values )

设置当前NX会话中指定名称的双精度数组型用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
values首选项的值。将覆盖现有值。

◆ SetDoubleArrayPreference() [2/2]

void NXOpen::Preferences::RoutingUserPreferences::SetDoubleArrayPreference ( const NXString & name,
const std::vector< double > & values )

设置当前NX会话中指定名称的双精度数组型用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
values首选项的值。将覆盖现有值。

◆ SetDoublePreference() [1/2]

void NXOpen::Preferences::RoutingUserPreferences::SetDoublePreference ( const char * name,
double value )

设置当前NX会话中指定名称的双精度型用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
value首选项的值。将覆盖现有值。

◆ SetDoublePreference() [2/2]

void NXOpen::Preferences::RoutingUserPreferences::SetDoublePreference ( const NXString & name,
double value )

设置当前NX会话中指定名称的双精度型用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
value首选项的值。将覆盖现有值。

◆ SetIntegerArrayPreference() [1/2]

void NXOpen::Preferences::RoutingUserPreferences::SetIntegerArrayPreference ( const char * name,
const std::vector< int > & values )

在当前NX会话中设置指定名称的整数数组用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
values首选项的值。将覆盖现有值。

◆ SetIntegerArrayPreference() [2/2]

void NXOpen::Preferences::RoutingUserPreferences::SetIntegerArrayPreference ( const NXString & name,
const std::vector< int > & values )

在当前NX会话中设置指定名称的整数数组用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
values首选项的值。将覆盖现有值。

◆ SetIntegerPreference() [1/2]

void NXOpen::Preferences::RoutingUserPreferences::SetIntegerPreference ( const char * name,
int value )

在当前NX会话中设置指定名称的整数型用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
value首选项的值。将覆盖现有值。

◆ SetIntegerPreference() [2/2]

void NXOpen::Preferences::RoutingUserPreferences::SetIntegerPreference ( const NXString & name,
int value )

在当前NX会话中设置指定名称的整数型用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
value首选项的值。将覆盖现有值。

◆ SetStringArrayPreference() [1/2]

void NXOpen::Preferences::RoutingUserPreferences::SetStringArrayPreference ( const char * name,
std::vector< NXString > & values )

在当前NX会话中设置指定名称的字符串数组用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
values首选项的值。将覆盖现有值。

◆ SetStringArrayPreference() [2/2]

void NXOpen::Preferences::RoutingUserPreferences::SetStringArrayPreference ( const NXString & name,
std::vector< NXString > & values )

在当前NX会话中设置指定名称的字符串数组用户首选项的值。
创建于NX11.0.2。

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

参数
name用户首选项的名称。
values首选项的值。将覆盖现有值。

◆ SetStringPreference() [1/2]

void NXOpen::Preferences::RoutingUserPreferences::SetStringPreference ( const char * name,
const char * value )

在当前NX会话中设置指定名称的字符串型用户首选项的值。
创建于NX11.0.2。

许可要求:routing_base("基础布线")

参数
name用户首选项的名称。
value首选项的值,将覆盖现有值。

◆ SetStringPreference() [2/2]

void NXOpen::Preferences::RoutingUserPreferences::SetStringPreference ( const NXString & name,
const NXString & value )

在当前NX会话中设置指定名称的字符串型用户首选项的值。
创建于NX11.0.2。

许可要求:routing_base("基础布线")

参数
name用户首选项的名称。
value首选项的值,将覆盖现有值。

◆ Tag()

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

返回此对象的标识。