|
NX Open C++ 参考指南 2406 v1.1
|
属性容器 更多...
#include <PropertyContainer.hxx>
Public 成员函数 | |
| NXOpen::PropertyContainer * | GetArray (const char *propertyName) |
| NXOpen::PropertyContainer * | GetArray (const NXString &propertyName) |
| NXOpen::PropertyContainer * | GetArray (int propertyIndex) |
| int | GetBits (const char *propertyName) |
| int | GetBits (const NXString &propertyName) |
| int | GetBits (int propertyIndex) |
| double | GetDouble (const char *propertyName) |
| double | GetDouble (const NXString &propertyName) |
| double | GetDouble (int propertyIndex) |
| std::vector< double > | GetDoubleMatrix (const char *propertyName, int *nRows, int *nColumns) |
| std::vector< double > | GetDoubleMatrix (const NXString &propertyName, int *nRows, int *nColumns) |
| std::vector< double > | GetDoubleMatrix (int propertyIndex, int *nRows, int *nColumns) |
| std::vector< double > | GetDoubleVector (const char *propertyName) |
| std::vector< double > | GetDoubleVector (const NXString &propertyName) |
| std::vector< double > | GetDoubleVector (int propertyIndex) |
| int | GetEnum (const char *propertyName) |
| int | GetEnum (const NXString &propertyName) |
| int | GetEnum (int propertyIndex) |
| NXString | GetEnumAsString (const char *propertyName) |
| NXString | GetEnumAsString (const NXString &propertyName) |
| NXString | GetEnumAsString (int propertyIndex) |
| std::vector< NXString > | GetEnumMembers (const char *propertyName) |
| std::vector< NXString > | GetEnumMembers (const NXString &propertyName) |
| std::vector< NXString > | GetEnumMembers (int propertyIndex) |
| NXString | GetFile (const char *propertyName) |
| NXString | GetFile (const NXString &propertyName) |
| NXString | GetFile (int propertyIndex) |
| int | GetInteger (const char *propertyName) |
| int | GetInteger (const NXString &propertyName) |
| int | GetInteger (int propertyIndex) |
| std::vector< int > | GetIntegerMatrix (const char *propertyName, int *nRows, int *nColumns) |
| std::vector< int > | GetIntegerMatrix (const NXString &propertyName, int *nRows, int *nColumns) |
| std::vector< int > | GetIntegerMatrix (int propertyIndex, int *nRows, int *nColumns) |
| std::vector< int > | GetIntegerVector (const char *propertyName) |
| std::vector< int > | GetIntegerVector (const NXString &propertyName) |
| std::vector< int > | GetIntegerVector (int propertyIndex) |
| bool | GetLogical (const char *propertyName) |
| bool | GetLogical (const NXString &propertyName) |
| bool | GetLogical (int propertyIndex) |
| NXOpen::Point3d | GetPoint (const char *propertyName) |
| NXOpen::Point3d | GetPoint (const NXString &propertyName) |
| NXOpen::Point3d | GetPoint (int propertyIndex) |
| std::vector< NXString > | GetPropertyNames () |
| NXOpen::PropertyContainer::PropertyType | GetPropertyType (const char *propertyName) |
| NXOpen::PropertyContainer::PropertyType | GetPropertyType (const NXString &propertyName) |
| NXOpen::PropertyContainer::PropertyType | GetPropertyType (int propertyIndex) |
| NXString | GetString (const char *propertyName) |
| NXString | GetString (const NXString &propertyName) |
| NXString | GetString (int propertyIndex) |
| std::vector< NXString > | GetStrings (const char *propertyName) |
| std::vector< NXString > | GetStrings (const NXString &propertyName) |
| std::vector< NXString > | GetStrings (int propertyIndex) |
| NXOpen::TaggedObject * | GetTaggedObject (const char *propertyName) |
| NXOpen::TaggedObject * | GetTaggedObject (const NXString &propertyName) |
| NXOpen::TaggedObject * | GetTaggedObject (int propertyIndex) |
| std::vector< NXOpen::TaggedObject * > | GetTaggedObjectVector (const char *propertyName) |
| std::vector< NXOpen::TaggedObject * > | GetTaggedObjectVector (const NXString &propertyName) |
| std::vector< NXOpen::TaggedObject * > | GetTaggedObjectVector (int propertyIndex) |
| NXOpen::Vector3d | GetVector (const char *propertyName) |
| NXOpen::Vector3d | GetVector (const NXString &propertyName) |
| NXOpen::Vector3d | GetVector (int propertyIndex) |
| int | Length () |
| NXOpen::PropertyContainer::ListMode | Mode () |
| void | SetBits (const char *propertyName, int bitsSc) |
| void | SetBits (const NXString &propertyName, int bitsSc) |
| void | SetDouble (const char *propertyName, double value) |
| void | SetDouble (const NXString &propertyName, double value) |
| void | SetDoubleMatrix (const char *propertyName, int nRows, int nColumns, const std::vector< double > &matrixValue) |
| void | SetDoubleMatrix (const NXString &propertyName, int nRows, int nColumns, const std::vector< double > &matrixValue) |
| void | SetDoubleVector (const char *propertyName, const std::vector< double > &doubleVector) |
| void | SetDoubleVector (const NXString &propertyName, const std::vector< double > &doubleVector) |
| void | SetEnum (const char *propertyName, int value) |
| void | SetEnum (const NXString &propertyName, int value) |
| void | SetEnumAsString (const char *propertyName, const char *value) |
| void | SetEnumAsString (const NXString &propertyName, const NXString &value) |
| void | SetEnumMembers (const char *propertyName, std::vector< NXString > &stringArray) |
| void | SetEnumMembers (const NXString &propertyName, std::vector< NXString > &stringArray) |
| void | SetFile (const char *propertyName, const char *value) |
| void | SetFile (const NXString &propertyName, const NXString &value) |
| void | SetInteger (const char *propertyName, int value) |
| void | SetInteger (const NXString &propertyName, int value) |
| void | SetIntegerMatrix (const char *propertyName, int nRows, int nColumns, const std::vector< int > &matrixValue) |
| void | SetIntegerMatrix (const NXString &propertyName, int nRows, int nColumns, const std::vector< int > &matrixValue) |
| void | SetIntegerVector (const char *propertyName, const std::vector< int > &intVector) |
| void | SetIntegerVector (const NXString &propertyName, const std::vector< int > &intVector) |
| void | SetLogical (const char *propertyName, bool value) |
| void | SetLogical (const NXString &propertyName, bool value) |
| void | SetPoint (const char *propertyName, const NXOpen::Point3d &pointSc) |
| void | SetPoint (const NXString &propertyName, const NXOpen::Point3d &pointSc) |
| void | SetString (const char *propertyName, const char *value) |
| void | SetString (const NXString &propertyName, const NXString &value) |
| void | SetStrings (const char *propertyName, std::vector< NXString > &stringArray) |
| void | SetStrings (const NXString &propertyName, std::vector< NXString > &stringArray) |
| void | SetTaggedObject (const char *propertyName, NXOpen::TaggedObject *taggedSc) |
| void | SetTaggedObject (const NXString &propertyName, NXOpen::TaggedObject *taggedSc) |
| void | SetTaggedObjectVector (const char *propertyName, const std::vector< NXOpen::TaggedObject * > &tagVector) |
| void | SetTaggedObjectVector (const NXString &propertyName, const std::vector< NXOpen::TaggedObject * > &tagVector) |
| void | SetVector (const char *propertyName, const NXOpen::Vector3d &vector) |
| void | SetVector (const NXString &propertyName, const NXOpen::Vector3d &vector) |
| virtual | ~PropertyContainer () |
| Public 成员函数 继承自 NXOpen::TransientObject | |
| void * | GetHandle () |
属性容器
表示属性列表。可访问和修改属性,但无法向现有列表添加新属性。允许添加新属性的列表请参考NXOpen::DataContainer。
版本:NX7.5.0
表示属性类型。
|
virtual |
从内存中释放对象。调用此方法后,该对象将不可再使用。在.NET中,当垃圾回收器删除对象时会自动调用此方法。
版本:NX7.5.0
许可要求:无
| NXOpen::PropertyContainer * NXOpen::PropertyContainer::GetArray | ( | const char * | propertyName | ) |
获取指定属性名对应的值。若使用无效属性名将抛出异常。
| propertyName | 属性名称 |
| NXOpen::PropertyContainer * NXOpen::PropertyContainer::GetArray | ( | const NXString & | propertyName | ) |
根据指定属性名获取数组属性容器。使用无效属性名将引发异常。
| propertyName | 属性名称 |
| NXOpen::PropertyContainer * NXOpen::PropertyContainer::GetArray | ( | int | propertyIndex | ) |
获取指定索引对应的值。若使用无效索引将抛出异常。
| propertyIndex | 索引 |
| int NXOpen::PropertyContainer::GetBits | ( | const char * | propertyName | ) |
根据指定属性名称获取位值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| int NXOpen::PropertyContainer::GetBits | ( | const NXString & | propertyName | ) |
根据指定属性名称获取位值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| int NXOpen::PropertyContainer::GetBits | ( | int | propertyIndex | ) |
根据指定索引获取位值。使用无效索引将引发异常。
| propertyIndex | 索引 |
| double NXOpen::PropertyContainer::GetDouble | ( | const char * | propertyName | ) |
获取指定属性名的双精度值。使用无效属性名将抛出异常。
| propertyName | 属性名 |
| double NXOpen::PropertyContainer::GetDouble | ( | const NXString & | propertyName | ) |
获取指定属性名的双精度值。使用无效属性名将抛出异常。
| propertyName | 属性名 |
| double NXOpen::PropertyContainer::GetDouble | ( | int | propertyIndex | ) |
获取指定索引的双精度值。使用无效索引将抛出异常。
| propertyIndex | 索引 |
| std::vector< double > NXOpen::PropertyContainer::GetDoubleMatrix | ( | const char * | propertyName, |
| int * | nRows, | ||
| int * | nColumns ) |
根据指定属性名获取双精度矩阵。使用无效属性名将引发异常。 二维数组被编码为一维数组。
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| std::vector< double > NXOpen::PropertyContainer::GetDoubleMatrix | ( | const NXString & | propertyName, |
| int * | nRows, | ||
| int * | nColumns ) |
根据指定属性名获取双精度矩阵。使用无效属性名将引发异常。 二维数组被编码为一维数组。
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| std::vector< double > NXOpen::PropertyContainer::GetDoubleMatrix | ( | int | propertyIndex, |
| int * | nRows, | ||
| int * | nColumns ) |
根据指定索引获取双精度矩阵。使用无效索引将引发异常。 二维数组被编码为一维数组。
| propertyIndex | 索引 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| std::vector< double > NXOpen::PropertyContainer::GetDoubleVector | ( | const char * | propertyName | ) |
根据指定属性名称获取双精度浮点数向量。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| std::vector< double > NXOpen::PropertyContainer::GetDoubleVector | ( | const NXString & | propertyName | ) |
根据指定属性名称获取双精度浮点数向量。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| std::vector< double > NXOpen::PropertyContainer::GetDoubleVector | ( | int | propertyIndex | ) |
根据指定索引获取双精度浮点数向量。使用无效索引将引发异常。
| propertyIndex | 索引 |
| int NXOpen::PropertyContainer::GetEnum | ( | const char * | propertyName | ) |
获取指定属性名对应的值。使用无效属性名将触发异常。
| propertyName | 属性名 |
| int NXOpen::PropertyContainer::GetEnum | ( | const NXString & | propertyName | ) |
获取指定属性名对应的值。使用无效属性名将触发异常。
| propertyName | 属性名 |
| int NXOpen::PropertyContainer::GetEnum | ( | int | propertyIndex | ) |
获取指定索引对应的值。使用无效索引将触发异常。
| propertyIndex | 索引 |
| NXString NXOpen::PropertyContainer::GetEnumAsString | ( | const char * | propertyName | ) |
获取指定属性名的枚举值(字符串形式)。使用无效属性名将抛出异常。
| propertyName | 属性名 |
获取指定属性名的枚举值(字符串形式)。使用无效属性名将抛出异常。
| propertyName | 属性名 |
| NXString NXOpen::PropertyContainer::GetEnumAsString | ( | int | propertyIndex | ) |
获取指定索引对应的值。使用无效索引将触发异常。
| propertyIndex | 索引 |
| std::vector< NXString > NXOpen::PropertyContainer::GetEnumMembers | ( | const char * | propertyName | ) |
获取指定枚举类型属性的枚举成员。使用无效属性名将触发异常。
| propertyName | 属性名 |
获取指定枚举类型属性的枚举成员。使用无效属性名将触发异常。
| propertyName | 属性名 |
| std::vector< NXString > NXOpen::PropertyContainer::GetEnumMembers | ( | int | propertyIndex | ) |
获取指定索引对应属性的枚举成员。使用无效索引将触发异常。
| propertyIndex | 索引 |
| NXString NXOpen::PropertyContainer::GetFile | ( | const char * | propertyName | ) |
根据指定属性名获取文件路径值。使用无效属性名将引发异常。
| propertyName | 属性名称 |
根据指定属性名获取文件路径值。使用无效属性名将引发异常。
| propertyName | 属性名称 |
| NXString NXOpen::PropertyContainer::GetFile | ( | int | propertyIndex | ) |
根据指定索引获取文件路径值。使用无效索引将引发异常。
| propertyIndex | 索引 |
| int NXOpen::PropertyContainer::GetInteger | ( | const char * | propertyName | ) |
获取指定属性名称的整数值。使用无效属性名称将引发异常
| propertyName | 属性名称 |
| int NXOpen::PropertyContainer::GetInteger | ( | const NXString & | propertyName | ) |
获取指定属性名称的整数值。使用无效属性名称将引发异常
| propertyName | 属性名称 |
| int NXOpen::PropertyContainer::GetInteger | ( | int | propertyIndex | ) |
获取指定索引的整数值。使用无效索引将引发异常
| propertyIndex | 索引 |
| std::vector< int > NXOpen::PropertyContainer::GetIntegerMatrix | ( | const char * | propertyName, |
| int * | nRows, | ||
| int * | nColumns ) |
根据指定属性名称获取整数矩阵。使用无效属性名称将引发异常。 该二维数组被编码为一维数组。
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| std::vector< int > NXOpen::PropertyContainer::GetIntegerMatrix | ( | const NXString & | propertyName, |
| int * | nRows, | ||
| int * | nColumns ) |
根据指定属性名称获取整数矩阵。使用无效属性名称将引发异常。 该二维数组被编码为一维数组。
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| std::vector< int > NXOpen::PropertyContainer::GetIntegerMatrix | ( | int | propertyIndex, |
| int * | nRows, | ||
| int * | nColumns ) |
根据指定索引获取整数矩阵。使用无效索引将引发异常。 二维数组被编码为一维数组。
| propertyIndex | 索引 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| std::vector< int > NXOpen::PropertyContainer::GetIntegerVector | ( | const char * | propertyName | ) |
根据指定属性名称获取整数向量。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| std::vector< int > NXOpen::PropertyContainer::GetIntegerVector | ( | const NXString & | propertyName | ) |
根据指定属性名称获取整数向量。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| std::vector< int > NXOpen::PropertyContainer::GetIntegerVector | ( | int | propertyIndex | ) |
根据指定索引获取整数向量。使用无效索引将引发异常。
| propertyIndex | 索引 |
| bool NXOpen::PropertyContainer::GetLogical | ( | const char * | propertyName | ) |
获取指定属性名称的逻辑值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| bool NXOpen::PropertyContainer::GetLogical | ( | const NXString & | propertyName | ) |
获取指定属性名称的逻辑值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| bool NXOpen::PropertyContainer::GetLogical | ( | int | propertyIndex | ) |
获取指定索引的逻辑值。使用无效索引将引发异常。
| propertyIndex | 索引 |
| NXOpen::Point3d NXOpen::PropertyContainer::GetPoint | ( | const char * | propertyName | ) |
根据指定属性名称获取点值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| NXOpen::Point3d NXOpen::PropertyContainer::GetPoint | ( | const NXString & | propertyName | ) |
根据指定属性名称获取点值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| NXOpen::Point3d NXOpen::PropertyContainer::GetPoint | ( | int | propertyIndex | ) |
根据指定索引获取点值。使用无效索引将引发异常。
| propertyIndex | 索引 |
| std::vector< NXString > NXOpen::PropertyContainer::GetPropertyNames | ( | ) |
获取所有属性名称的列表
| NXOpen::PropertyContainer::PropertyType NXOpen::PropertyContainer::GetPropertyType | ( | const char * | propertyName | ) |
根据指定属性名称获取属性类型
| propertyName | 属性名称 |
| NXOpen::PropertyContainer::PropertyType NXOpen::PropertyContainer::GetPropertyType | ( | const NXString & | propertyName | ) |
根据指定属性名称获取属性类型
| propertyName | 属性名称 |
| NXOpen::PropertyContainer::PropertyType NXOpen::PropertyContainer::GetPropertyType | ( | int | propertyIndex | ) |
获取索引型属性列表的属性类型。请勿在命名型属性列表上使用此方法
| propertyIndex | 索引 |
| NXString NXOpen::PropertyContainer::GetString | ( | const char * | propertyName | ) |
获取指定属性名的字符串值。使用无效属性名将抛出异常。
| propertyName | 属性名 |
获取指定属性名的字符串值。使用无效属性名将抛出异常。
| propertyName | 属性名 |
| NXString NXOpen::PropertyContainer::GetString | ( | int | propertyIndex | ) |
获取指定索引的字符串值。使用无效索引将抛出异常。
| propertyIndex | 索引 |
| std::vector< NXString > NXOpen::PropertyContainer::GetStrings | ( | const char * | propertyName | ) |
根据指定属性名称获取字符串值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
获取指定属性名对应的字符串数组值。使用无效属性名将触发异常。
| propertyName | 属性名 |
| std::vector< NXString > NXOpen::PropertyContainer::GetStrings | ( | int | propertyIndex | ) |
根据指定索引获取字符串值。使用无效索引将引发异常。
| propertyIndex | 索引 |
| NXOpen::TaggedObject * NXOpen::PropertyContainer::GetTaggedObject | ( | const char * | propertyName | ) |
根据指定属性名称获取标记对象。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| NXOpen::TaggedObject * NXOpen::PropertyContainer::GetTaggedObject | ( | const NXString & | propertyName | ) |
根据指定属性名称获取标记对象。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| NXOpen::TaggedObject * NXOpen::PropertyContainer::GetTaggedObject | ( | int | propertyIndex | ) |
根据指定索引获取标记对象。使用无效索引将引发异常。
| propertyIndex | 索引 |
| std::vector< NXOpen::TaggedObject * > NXOpen::PropertyContainer::GetTaggedObjectVector | ( | const char * | propertyName | ) |
根据指定属性名称获取标记对象向量。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| std::vector< NXOpen::TaggedObject * > NXOpen::PropertyContainer::GetTaggedObjectVector | ( | const NXString & | propertyName | ) |
根据指定属性名称获取标记对象向量。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| std::vector< NXOpen::TaggedObject * > NXOpen::PropertyContainer::GetTaggedObjectVector | ( | int | propertyIndex | ) |
根据指定索引获取标记对象向量。使用无效索引将引发异常。
| propertyIndex | 索引 |
| NXOpen::Vector3d NXOpen::PropertyContainer::GetVector | ( | const char * | propertyName | ) |
根据指定属性名称获取向量值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| NXOpen::Vector3d NXOpen::PropertyContainer::GetVector | ( | const NXString & | propertyName | ) |
根据指定属性名称获取向量值。使用无效属性名称将引发异常。
| propertyName | 属性名称 |
| NXOpen::Vector3d NXOpen::PropertyContainer::GetVector | ( | int | propertyIndex | ) |
根据指定索引获取向量值。使用无效索引将引发异常。
| propertyIndex | 索引 |
| int NXOpen::PropertyContainer::Length | ( | ) |
获取列表的长度
版本:NX7.5.0
许可要求:无
| NXOpen::PropertyContainer::ListMode NXOpen::PropertyContainer::Mode | ( | ) |
获取列表的模式
版本:NX7.5.0
许可要求:无
| void NXOpen::PropertyContainer::SetBits | ( | const char * | propertyName, |
| int | bitsSc ) |
根据指定属性名称设置位值。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| bitsSc | 指定属性名称对应的设置值。 |
| void NXOpen::PropertyContainer::SetBits | ( | const NXString & | propertyName, |
| int | bitsSc ) |
根据指定属性名称设置位值。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| bitsSc | 指定属性名称对应的设置值。 |
| void NXOpen::PropertyContainer::SetDouble | ( | const char * | propertyName, |
| double | value ) |
为指定属性名设置双精度值。使用无效属性名将抛出异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetDouble | ( | const NXString & | propertyName, |
| double | value ) |
为指定属性名设置双精度值。使用无效属性名将抛出异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetDoubleMatrix | ( | const char * | propertyName, |
| int | nRows, | ||
| int | nColumns, | ||
| const std::vector< double > & | matrixValue ) |
根据指定属性名设置双精度矩阵。使用无效属性名将引发异常。 二维数组被编码为一维数组。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| matrixValue | 要为指定属性名设置的矩阵值 |
| void NXOpen::PropertyContainer::SetDoubleMatrix | ( | const NXString & | propertyName, |
| int | nRows, | ||
| int | nColumns, | ||
| const std::vector< double > & | matrixValue ) |
根据指定属性名设置双精度矩阵。使用无效属性名将引发异常。 二维数组被编码为一维数组。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| matrixValue | 要为指定属性名设置的矩阵值 |
| void NXOpen::PropertyContainer::SetDoubleVector | ( | const char * | propertyName, |
| const std::vector< double > & | doubleVector ) |
根据指定属性名称设置双精度浮点数向量。使用无效属性名称将引发异常。
版本:NX7.5.3
许可要求:无
| propertyName | 属性名称 |
| doubleVector | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetDoubleVector | ( | const NXString & | propertyName, |
| const std::vector< double > & | doubleVector ) |
根据指定属性名称设置双精度浮点数向量。使用无效属性名称将引发异常。
版本:NX7.5.3
许可要求:无
| propertyName | 属性名称 |
| doubleVector | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetEnum | ( | const char * | propertyName, |
| int | value ) |
设置指定属性名对应的值。使用无效属性名将触发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetEnum | ( | const NXString & | propertyName, |
| int | value ) |
设置指定属性名对应的值。使用无效属性名将触发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetEnumAsString | ( | const char * | propertyName, |
| const char * | value ) |
为指定属性名设置枚举值(字符串形式)。使用无效属性名将抛出异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetEnumAsString | ( | const NXString & | propertyName, |
| const NXString & | value ) |
为指定属性名设置枚举值(字符串形式)。使用无效属性名将抛出异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetEnumMembers | ( | const char * | propertyName, |
| std::vector< NXString > & | stringArray ) |
为指定的枚举类型属性设置枚举成员。使用无效属性名将触发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名 |
| stringArray | 要为指定属性名设置的枚举成员数组 |
| void NXOpen::PropertyContainer::SetEnumMembers | ( | const NXString & | propertyName, |
| std::vector< NXString > & | stringArray ) |
为指定的枚举类型属性设置枚举成员。使用无效属性名将触发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名 |
| stringArray | 要为指定属性名设置的枚举成员数组 |
| void NXOpen::PropertyContainer::SetFile | ( | const char * | propertyName, |
| const char * | value ) |
根据指定属性名设置文件路径值。使用无效属性名将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| value | 要为指定属性名设置的文件路径值 |
根据指定属性名设置文件路径值。使用无效属性名将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| value | 要为指定属性名设置的文件路径值 |
| void NXOpen::PropertyContainer::SetInteger | ( | const char * | propertyName, |
| int | value ) |
为指定属性名称设置整数值。 使用无效属性名称将引发异常。
创建于NX7.5.0.
许可要求: 无
| propertyName | 属性名称 |
| value | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetInteger | ( | const NXString & | propertyName, |
| int | value ) |
为指定属性名称设置整数值。 使用无效属性名称将引发异常。
创建于NX7.5.0.
许可要求: 无
| propertyName | 属性名称 |
| value | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetIntegerMatrix | ( | const char * | propertyName, |
| int | nRows, | ||
| int | nColumns, | ||
| const std::vector< int > & | matrixValue ) |
根据指定属性名称设置整数矩阵。使用无效属性名称将引发异常。 该二维数组被编码为一维数组。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| matrixValue | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetIntegerMatrix | ( | const NXString & | propertyName, |
| int | nRows, | ||
| int | nColumns, | ||
| const std::vector< int > & | matrixValue ) |
根据指定属性名称设置整数矩阵。使用无效属性名称将引发异常。 该二维数组被编码为一维数组。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名称 |
| nRows | 二维矩阵的行数 |
| nColumns | 二维矩阵的列数 |
| matrixValue | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetIntegerVector | ( | const char * | propertyName, |
| const std::vector< int > & | intVector ) |
根据指定属性名称设置整数向量。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| intVector | 要为指定属性名称设置的值 |
| void NXOpen::PropertyContainer::SetIntegerVector | ( | const NXString & | propertyName, |
| const std::vector< int > & | intVector ) |
根据指定属性名称设置整数向量。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| intVector | 要为指定属性名称设置的值 |
| void NXOpen::PropertyContainer::SetLogical | ( | const char * | propertyName, |
| bool | value ) |
为指定属性名称设置逻辑值。使用无效属性名称将引发异常。
创建于NX7.5.0.
许可要求: 无
| propertyName | 属性名称 |
| value | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetLogical | ( | const NXString & | propertyName, |
| bool | value ) |
为指定属性名称设置逻辑值。使用无效属性名称将引发异常。
创建于NX7.5.0.
许可要求: 无
| propertyName | 属性名称 |
| value | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetPoint | ( | const char * | propertyName, |
| const NXOpen::Point3d & | pointSc ) |
根据指定属性名称设置点值。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| pointSc | 指定属性名称对应的设置值。 |
| void NXOpen::PropertyContainer::SetPoint | ( | const NXString & | propertyName, |
| const NXOpen::Point3d & | pointSc ) |
根据指定属性名称设置点值。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| pointSc | 指定属性名称对应的设置值。 |
| void NXOpen::PropertyContainer::SetString | ( | const char * | propertyName, |
| const char * | value ) |
为指定属性名设置字符串值。使用无效属性名将抛出异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
为指定属性名设置字符串值。使用无效属性名将抛出异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名 |
| value | 要为指定属性名设置的值 |
| void NXOpen::PropertyContainer::SetStrings | ( | const char * | propertyName, |
| std::vector< NXString > & | stringArray ) |
设置指定属性名对应的字符串数组值。使用无效属性名将触发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名 |
| stringArray | 要为指定属性名设置的字符串数组 |
| void NXOpen::PropertyContainer::SetStrings | ( | const NXString & | propertyName, |
| std::vector< NXString > & | stringArray ) |
设置指定属性名对应的字符串数组值。使用无效属性名将触发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名 |
| stringArray | 要为指定属性名设置的字符串数组 |
| void NXOpen::PropertyContainer::SetTaggedObject | ( | const char * | propertyName, |
| NXOpen::TaggedObject * | taggedSc ) |
根据指定属性名称设置标记对象。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| taggedSc | 要为指定属性名称设置的值 |
| void NXOpen::PropertyContainer::SetTaggedObject | ( | const NXString & | propertyName, |
| NXOpen::TaggedObject * | taggedSc ) |
根据指定属性名称设置标记对象。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| taggedSc | 要为指定属性名称设置的值 |
| void NXOpen::PropertyContainer::SetTaggedObjectVector | ( | const char * | propertyName, |
| const std::vector< NXOpen::TaggedObject * > & | tagVector ) |
根据指定属性名称设置标记对象向量。使用无效属性名称将引发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名称 |
| tagVector | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetTaggedObjectVector | ( | const NXString & | propertyName, |
| const std::vector< NXOpen::TaggedObject * > & | tagVector ) |
根据指定属性名称设置标记对象向量。使用无效属性名称将引发异常。
版本:NX7.5.0
许可要求:无
| propertyName | 属性名称 |
| tagVector | 要为指定属性设置的值 |
| void NXOpen::PropertyContainer::SetVector | ( | const char * | propertyName, |
| const NXOpen::Vector3d & | vector ) |
根据指定属性名称设置向量值。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| vector | 指定属性名称对应的设置值。 |
| void NXOpen::PropertyContainer::SetVector | ( | const NXString & | propertyName, |
| const NXOpen::Vector3d & | vector ) |
根据指定属性名称设置向量值。使用无效属性名称将引发异常。
创建于NX7.5.0。
许可要求:无
| propertyName | 属性名称 |
| vector | 指定属性名称对应的设置值。 |