NX Open C++ Reference Guide
|
Represents a list of properties. More...
Public Types | |
enum | ListMode { ListModeIndexed, ListModeNamed } |
Indicates whether the properties in the list are named. More... | |
enum | PropertyType { PropertyTypeString, PropertyTypeDouble, PropertyTypeLogical, PropertyTypeInteger, PropertyTypeEnum, PropertyTypeStrings, PropertyTypeUIBlock, PropertyTypePoint, PropertyTypeVector, PropertyTypeBits, PropertyTypeTaggedObject, PropertyTypeArray, PropertyTypeIntegerMatrix2d, PropertyTypeDoubleMatrix2d, PropertyTypeTaggedObjectMatrix2d, PropertyTypeIntegerVector, PropertyTypeDoubleVector, PropertyTypeTaggedObjectVector, PropertyTypeFile, PropertyTypeSelectionFilter, PropertyTypeUndefined } |
Represents the property types. More... | |
Public Member Functions | |
NXOpen::PropertyContainer * | GetArray (const NXString &propertyName) |
Gets the value for the given property name. | |
NXOpen::PropertyContainer * | GetArray (const char *propertyName) |
Gets the value for the given property name. | |
NXOpen::PropertyContainer * | GetArray (int propertyIndex) |
Gets the value for the given index. | |
int | GetBits (const NXString &propertyName) |
Gets the bits value for the given property name. | |
int | GetBits (const char *propertyName) |
Gets the bits value for the given property name. | |
int | GetBits (int propertyIndex) |
Gets the bits value for the given index. | |
double | GetDouble (const NXString &propertyName) |
Gets the double value for the given property name. | |
double | GetDouble (const char *propertyName) |
Gets the double value for the given property name. | |
double | GetDouble (int propertyIndex) |
Gets the double value for the given index. | |
std::vector< double > | GetDoubleMatrix (const NXString &propertyName, int *nRows, int *nColumns) |
Gets the double matrix for the given property name. | |
std::vector< double > | GetDoubleMatrix (const char *propertyName, int *nRows, int *nColumns) |
Gets the double matrix for the given property name. | |
std::vector< double > | GetDoubleMatrix (int propertyIndex, int *nRows, int *nColumns) |
Gets the double matrix for the given index. | |
std::vector< double > | GetDoubleVector (const NXString &propertyName) |
Gets the double vector for the given property name. | |
std::vector< double > | GetDoubleVector (const char *propertyName) |
Gets the double vector for the given property name. | |
std::vector< double > | GetDoubleVector (int propertyIndex) |
Gets the double vector for the given index. | |
int | GetEnum (const NXString &propertyName) |
Gets the value for the given property name. | |
int | GetEnum (const char *propertyName) |
Gets the value for the given property name. | |
int | GetEnum (int propertyIndex) |
Gets the value for the given index. | |
NXString | GetEnumAsString (const NXString &propertyName) |
Gets the value for the given property name. | |
NXString | GetEnumAsString (const char *propertyName) |
Gets the value for the given property name. | |
NXString | GetEnumAsString (int propertyIndex) |
Gets the value for the given index. | |
std::vector< NXString > | GetEnumMembers (const NXString &propertyName) |
Gets the enum members for the given property of type enum. | |
std::vector< NXString > | GetEnumMembers (const char *propertyName) |
Gets the enum members for the given property of type enum. | |
std::vector< NXString > | GetEnumMembers (int propertyIndex) |
Gets the enum members for the given property index. | |
NXString | GetFile (const NXString &propertyName) |
Gets the value for the given property name. | |
NXString | GetFile (const char *propertyName) |
Gets the value for the given property name. | |
NXString | GetFile (int propertyIndex) |
Gets the value for the given index. | |
int | GetInteger (const NXString &propertyName) |
Gets the integer value for the given property name. | |
int | GetInteger (const char *propertyName) |
Gets the integer value for the given property name. | |
int | GetInteger (int propertyIndex) |
Gets the integer value for the given index. | |
std::vector< int > | GetIntegerMatrix (const NXString &propertyName, int *nRows, int *nColumns) |
Gets the integer matrix for the given property name. | |
std::vector< int > | GetIntegerMatrix (const char *propertyName, int *nRows, int *nColumns) |
Gets the integer matrix for the given property name. | |
std::vector< int > | GetIntegerMatrix (int propertyIndex, int *nRows, int *nColumns) |
Gets the integer matrix for the given index. | |
std::vector< int > | GetIntegerVector (const NXString &propertyName) |
Gets the integer vector for the given property name. | |
std::vector< int > | GetIntegerVector (const char *propertyName) |
Gets the integer vector for the given property name. | |
std::vector< int > | GetIntegerVector (int propertyIndex) |
Gets the integer vector for the given index. | |
bool | GetLogical (const NXString &propertyName) |
Gets the logical value for the given property name. | |
bool | GetLogical (const char *propertyName) |
Gets the logical value for the given property name. | |
bool | GetLogical (int propertyIndex) |
Gets the logical value for the given index. | |
NXOpen::Point3d | GetPoint (const NXString &propertyName) |
Gets the point value for the given property name. | |
NXOpen::Point3d | GetPoint (const char *propertyName) |
Gets the point value for the given property name. | |
NXOpen::Point3d | GetPoint (int propertyIndex) |
Gets the point value for the given index. | |
std::vector< NXString > | GetPropertyNames () |
Returns a list of all the property names. | |
NXOpen::PropertyContainer::PropertyType | GetPropertyType (const NXString &propertyName) |
Returns the property type for given property name. | |
NXOpen::PropertyContainer::PropertyType | GetPropertyType (const char *propertyName) |
Returns the property type for given property name. | |
NXOpen::PropertyContainer::PropertyType | GetPropertyType (int propertyIndex) |
Returns the property type for the Indexed property list. | |
NXString | GetString (const NXString &propertyName) |
Gets the string value for the given property name. | |
NXString | GetString (const char *propertyName) |
Gets the string value for the given property name. | |
NXString | GetString (int propertyIndex) |
Gets the string value for the given index. | |
std::vector< NXString > | GetStrings (const NXString &propertyName) |
Gets the strings value for the given property name. | |
std::vector< NXString > | GetStrings (const char *propertyName) |
Gets the strings value for the given property name. | |
std::vector< NXString > | GetStrings (int propertyIndex) |
Gets the strings value for the given index. | |
NXOpen::TaggedObject * | GetTaggedObject (const NXString &propertyName) |
Gets the tagged object for the given property name. | |
NXOpen::TaggedObject * | GetTaggedObject (const char *propertyName) |
Gets the tagged object for the given property name. | |
NXOpen::TaggedObject * | GetTaggedObject (int propertyIndex) |
Gets the tagged object for the given index. | |
std::vector < NXOpen::TaggedObject * > | GetTaggedObjectVector (const NXString &propertyName) |
Gets the tagged object vector for the given property name. | |
std::vector < NXOpen::TaggedObject * > | GetTaggedObjectVector (const char *propertyName) |
Gets the tagged object vector for the given property name. | |
std::vector < NXOpen::TaggedObject * > | GetTaggedObjectVector (int propertyIndex) |
Gets the tagged object vector for the given index. | |
NXOpen::Vector3d | GetVector (const NXString &propertyName) |
Gets the vector value for the given property name. | |
NXOpen::Vector3d | GetVector (const char *propertyName) |
Gets the vector value for the given property name. | |
NXOpen::Vector3d | GetVector (int propertyIndex) |
Gets the vector value for the given index. | |
int | Length () |
Returns the length of the list Created in NX7.5.0. | |
NXOpen::PropertyContainer::ListMode | Mode () |
Returns the mode of the list Created in NX7.5.0. | |
void | SetBits (const NXString &propertyName, int bitsSc) |
Sets the bits value for the given property name. | |
void | SetBits (const char *propertyName, int bitsSc) |
Sets the bits value for the given property name. | |
void | SetDouble (const NXString &propertyName, double value) |
Sets the double value for the given property name. | |
void | SetDouble (const char *propertyName, double value) |
Sets the double value for the given property name. | |
void | SetDoubleMatrix (const NXString &propertyName, int nRows, int nColumns, const std::vector< double > &matrixValue) |
Sets the double matrix for the given property name. | |
void | SetDoubleMatrix (const char *propertyName, int nRows, int nColumns, const std::vector< double > &matrixValue) |
Sets the double matrix for the given property name. | |
void | SetDoubleVector (const NXString &propertyName, const std::vector< double > &doubleVector) |
Sets the double vector for the given property name. | |
void | SetDoubleVector (const char *propertyName, const std::vector< double > &doubleVector) |
Sets the double vector for the given property name. | |
void | SetEnum (const NXString &propertyName, int value) |
Sets the value for the given property name. | |
void | SetEnum (const char *propertyName, int value) |
Sets the value for the given property name. | |
void | SetEnumAsString (const NXString &propertyName, const NXString &value) |
Sets the value for the given property name. | |
void | SetEnumAsString (const char *propertyName, const char *value) |
Sets the value for the given property name. | |
void | SetEnumMembers (const NXString &propertyName, std::vector< NXString > &stringArray) |
Sets the enum members for the given property of type enum. | |
void | SetEnumMembers (const char *propertyName, std::vector< NXString > &stringArray) |
Sets the enum members for the given property of type enum. | |
void | SetFile (const NXString &propertyName, const NXString &value) |
Sets the value for the given property name. | |
void | SetFile (const char *propertyName, const char *value) |
Sets the value for the given property name. | |
void | SetInteger (const NXString &propertyName, int value) |
Sets the integer value for the given property name. | |
void | SetInteger (const char *propertyName, int value) |
Sets the integer value for the given property name. | |
void | SetIntegerMatrix (const NXString &propertyName, int nRows, int nColumns, const std::vector< int > &matrixValue) |
Sets the integer matrix for the given property name. | |
void | SetIntegerMatrix (const char *propertyName, int nRows, int nColumns, const std::vector< int > &matrixValue) |
Sets the integer matrix for the given property name. | |
void | SetIntegerVector (const NXString &propertyName, const std::vector< int > &intVector) |
Sets the integer vector for the given property name. | |
void | SetIntegerVector (const char *propertyName, const std::vector< int > &intVector) |
Sets the integer vector for the given property name. | |
void | SetLogical (const NXString &propertyName, bool value) |
Sets the logical value for the given property name. | |
void | SetLogical (const char *propertyName, bool value) |
Sets the logical value for the given property name. | |
void | SetPoint (const NXString &propertyName, const NXOpen::Point3d &pointSc) |
Sets the point value for the given property name. | |
void | SetPoint (const char *propertyName, const NXOpen::Point3d &pointSc) |
Sets the point value for the given property name. | |
void | SetString (const NXString &propertyName, const NXString &value) |
Sets the string value for the given property name. | |
void | SetString (const char *propertyName, const char *value) |
Sets the string value for the given property name. | |
void | SetStrings (const NXString &propertyName, std::vector< NXString > &stringArray) |
Sets the strings value for the given property name. | |
void | SetStrings (const char *propertyName, std::vector< NXString > &stringArray) |
Sets the strings value for the given property name. | |
void | SetTaggedObject (const NXString &propertyName, NXOpen::TaggedObject *taggedSc) |
Sets the tagged object for the given property name. | |
void | SetTaggedObject (const char *propertyName, NXOpen::TaggedObject *taggedSc) |
Sets the tagged object for the given property name. | |
void | SetTaggedObjectVector (const NXString &propertyName, const std::vector< NXOpen::TaggedObject * > &tagVector) |
Sets the tagged object vector for the given property name. | |
void | SetTaggedObjectVector (const char *propertyName, const std::vector< NXOpen::TaggedObject * > &tagVector) |
Sets the tagged object vector for the given property name. | |
void | SetVector (const NXString &propertyName, const NXOpen::Vector3d &vector) |
Sets the vector value for the given property name. | |
void | SetVector (const char *propertyName, const NXOpen::Vector3d &vector) |
Sets the vector value for the given property name. | |
virtual | ~PropertyContainer () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents a list of properties.
The properties can be accessed and modified, but no new property can be added to existing list. Refer to DataContainer which allows to add new property to the list.
Created in NX7.5.0.
Represents the property types.
PropertyTypeString |
String. |
PropertyTypeDouble |
Double. |
PropertyTypeLogical |
Logical. |
PropertyTypeInteger |
Integer. |
PropertyTypeEnum |
Enum. |
PropertyTypeStrings |
Strings. |
PropertyTypeUIBlock |
UIBlock. |
PropertyTypePoint | |
PropertyTypeVector |
Vector. |
PropertyTypeBits |
Bits. |
PropertyTypeTaggedObject |
Tagged Object. |
PropertyTypeArray |
Array. |
PropertyTypeIntegerMatrix2d |
Integer 2d-Matrix. |
PropertyTypeDoubleMatrix2d |
Double 2d-Matrix. |
PropertyTypeTaggedObjectMatrix2d |
Tagged Object 2d-Matrix. Currently unused and would be removed in later releases. Please do not use this member. |
PropertyTypeIntegerVector |
Integer Vector. |
PropertyTypeDoubleVector |
Double Vector. |
PropertyTypeTaggedObjectVector |
Tagged Object Vector. |
PropertyTypeFile |
File. |
PropertyTypeSelectionFilter |
Selection Filter. |
PropertyTypeUndefined |
Undefined. |
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX7.5.0.
License requirements : None
NXOpen::PropertyContainer* NXOpen::PropertyContainer::GetArray | ( | const NXString & | propertyName | ) |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::PropertyContainer* NXOpen::PropertyContainer::GetArray | ( | const char * | propertyName | ) |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::PropertyContainer* NXOpen::PropertyContainer::GetArray | ( | int | propertyIndex | ) |
Gets the value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
int NXOpen::PropertyContainer::GetBits | ( | const NXString & | propertyName | ) |
Gets the bits value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::PropertyContainer::GetBits | ( | const char * | propertyName | ) |
Gets the bits value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::PropertyContainer::GetBits | ( | int | propertyIndex | ) |
Gets the bits value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | index |
double NXOpen::PropertyContainer::GetDouble | ( | const NXString & | propertyName | ) |
Gets the double value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
double NXOpen::PropertyContainer::GetDouble | ( | const char * | propertyName | ) |
Gets the double value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
double NXOpen::PropertyContainer::GetDouble | ( | int | propertyIndex | ) |
Gets the double value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
std::vector<double> NXOpen::PropertyContainer::GetDoubleMatrix | ( | const NXString & | propertyName, |
int * | nRows, | ||
int * | nColumns | ||
) |
Gets the double matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
std::vector<double> NXOpen::PropertyContainer::GetDoubleMatrix | ( | const char * | propertyName, |
int * | nRows, | ||
int * | nColumns | ||
) |
Gets the double matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
std::vector<double> NXOpen::PropertyContainer::GetDoubleMatrix | ( | int | propertyIndex, |
int * | nRows, | ||
int * | nColumns | ||
) |
Gets the double matrix for the given index.
Exception will be raised if invalid index is used. This is a two dimensional array encoded into a single array.
propertyIndex | Index |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
std::vector<double> NXOpen::PropertyContainer::GetDoubleVector | ( | const NXString & | propertyName | ) |
Gets the double vector for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<double> NXOpen::PropertyContainer::GetDoubleVector | ( | const char * | propertyName | ) |
Gets the double vector for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<double> NXOpen::PropertyContainer::GetDoubleVector | ( | int | propertyIndex | ) |
Gets the double vector for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
int NXOpen::PropertyContainer::GetEnum | ( | const NXString & | propertyName | ) |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::PropertyContainer::GetEnum | ( | const char * | propertyName | ) |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::PropertyContainer::GetEnum | ( | int | propertyIndex | ) |
Gets the value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PropertyContainer::GetEnumAsString | ( | const char * | propertyName | ) |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PropertyContainer::GetEnumAsString | ( | int | propertyIndex | ) |
Gets the value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | index |
Gets the enum members for the given property of type enum.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::PropertyContainer::GetEnumMembers | ( | const char * | propertyName | ) |
Gets the enum members for the given property of type enum.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::PropertyContainer::GetEnumMembers | ( | int | propertyIndex | ) |
Gets the enum members for the given property index.
Exception will be raised if invalid property name is used.
propertyIndex | Index |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PropertyContainer::GetFile | ( | const char * | propertyName | ) |
Gets the value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PropertyContainer::GetFile | ( | int | propertyIndex | ) |
Gets the value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
int NXOpen::PropertyContainer::GetInteger | ( | const NXString & | propertyName | ) |
Gets the integer value for the given property name.
Exception will be raised if invalid property name is used
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::PropertyContainer::GetInteger | ( | const char * | propertyName | ) |
Gets the integer value for the given property name.
Exception will be raised if invalid property name is used
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::PropertyContainer::GetInteger | ( | int | propertyIndex | ) |
Gets the integer value for the given index.
Exception will be raised if invalid index is used
propertyIndex | Index |
std::vector<int> NXOpen::PropertyContainer::GetIntegerMatrix | ( | const NXString & | propertyName, |
int * | nRows, | ||
int * | nColumns | ||
) |
Gets the integer matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
std::vector<int> NXOpen::PropertyContainer::GetIntegerMatrix | ( | const char * | propertyName, |
int * | nRows, | ||
int * | nColumns | ||
) |
Gets the integer matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
std::vector<int> NXOpen::PropertyContainer::GetIntegerMatrix | ( | int | propertyIndex, |
int * | nRows, | ||
int * | nColumns | ||
) |
Gets the integer matrix for the given index.
Exception will be raised if invalid index is used. This is a two dimensional array encoded into a single array.
propertyIndex | Index |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
std::vector<int> NXOpen::PropertyContainer::GetIntegerVector | ( | const NXString & | propertyName | ) |
Gets the integer vector for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<int> NXOpen::PropertyContainer::GetIntegerVector | ( | const char * | propertyName | ) |
Gets the integer vector for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<int> NXOpen::PropertyContainer::GetIntegerVector | ( | int | propertyIndex | ) |
Gets the integer vector for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
bool NXOpen::PropertyContainer::GetLogical | ( | const NXString & | propertyName | ) |
Gets the logical value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
bool NXOpen::PropertyContainer::GetLogical | ( | const char * | propertyName | ) |
Gets the logical value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
bool NXOpen::PropertyContainer::GetLogical | ( | int | propertyIndex | ) |
Gets the logical value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
NXOpen::Point3d NXOpen::PropertyContainer::GetPoint | ( | const NXString & | propertyName | ) |
Gets the point value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Point3d NXOpen::PropertyContainer::GetPoint | ( | const char * | propertyName | ) |
Gets the point value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Point3d NXOpen::PropertyContainer::GetPoint | ( | int | propertyIndex | ) |
Gets the point value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
std::vector<NXString> NXOpen::PropertyContainer::GetPropertyNames | ( | ) |
Returns a list of all the property names.
NXOpen::PropertyContainer::PropertyType NXOpen::PropertyContainer::GetPropertyType | ( | const NXString & | propertyName | ) |
Returns the property type for given property name.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::PropertyContainer::PropertyType NXOpen::PropertyContainer::GetPropertyType | ( | const char * | propertyName | ) |
Returns the property type for given property name.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::PropertyContainer::PropertyType NXOpen::PropertyContainer::GetPropertyType | ( | int | propertyIndex | ) |
Returns the property type for the Indexed property list.
Don't use this method on Named property list
propertyIndex | Index |
Gets the string value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PropertyContainer::GetString | ( | const char * | propertyName | ) |
Gets the string value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PropertyContainer::GetString | ( | int | propertyIndex | ) |
Gets the string value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
Gets the strings value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::PropertyContainer::GetStrings | ( | const char * | propertyName | ) |
Gets the strings value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::PropertyContainer::GetStrings | ( | int | propertyIndex | ) |
Gets the strings value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
NXOpen::TaggedObject* NXOpen::PropertyContainer::GetTaggedObject | ( | const NXString & | propertyName | ) |
Gets the tagged object for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::TaggedObject* NXOpen::PropertyContainer::GetTaggedObject | ( | const char * | propertyName | ) |
Gets the tagged object for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::TaggedObject* NXOpen::PropertyContainer::GetTaggedObject | ( | int | propertyIndex | ) |
Gets the tagged object for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
std::vector<NXOpen::TaggedObject *> NXOpen::PropertyContainer::GetTaggedObjectVector | ( | const NXString & | propertyName | ) |
Gets the tagged object vector for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXOpen::TaggedObject *> NXOpen::PropertyContainer::GetTaggedObjectVector | ( | const char * | propertyName | ) |
Gets the tagged object vector for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXOpen::TaggedObject *> NXOpen::PropertyContainer::GetTaggedObjectVector | ( | int | propertyIndex | ) |
Gets the tagged object vector for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
NXOpen::Vector3d NXOpen::PropertyContainer::GetVector | ( | const NXString & | propertyName | ) |
Gets the vector value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Vector3d NXOpen::PropertyContainer::GetVector | ( | const char * | propertyName | ) |
Gets the vector value for the given property name.
Exception will be raised if invalid property name is used.
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Vector3d NXOpen::PropertyContainer::GetVector | ( | int | propertyIndex | ) |
Gets the vector value for the given index.
Exception will be raised if invalid index is used.
propertyIndex | Index |
int NXOpen::PropertyContainer::Length | ( | ) |
Returns the length of the list
Created in NX7.5.0.
License requirements : None
NXOpen::PropertyContainer::ListMode NXOpen::PropertyContainer::Mode | ( | ) |
Returns the mode of the list
Created in NX7.5.0.
License requirements : None
void NXOpen::PropertyContainer::SetBits | ( | const NXString & | propertyName, |
int | bitsSc | ||
) |
Sets the bits value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
bitsSc | Value to set for given property name. |
void NXOpen::PropertyContainer::SetBits | ( | const char * | propertyName, |
int | bitsSc | ||
) |
Sets the bits value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
bitsSc | Value to set for given property name. |
void NXOpen::PropertyContainer::SetDouble | ( | const NXString & | propertyName, |
double | value | ||
) |
Sets the double value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetDouble | ( | const char * | propertyName, |
double | value | ||
) |
Sets the double value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetDoubleMatrix | ( | const NXString & | propertyName, |
int | nRows, | ||
int | nColumns, | ||
const std::vector< double > & | matrixValue | ||
) |
Sets the double matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
matrixValue | Value to set for given property name. |
void NXOpen::PropertyContainer::SetDoubleMatrix | ( | const char * | propertyName, |
int | nRows, | ||
int | nColumns, | ||
const std::vector< double > & | matrixValue | ||
) |
Sets the double matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
matrixValue | Value to set for given property name. |
void NXOpen::PropertyContainer::SetDoubleVector | ( | const NXString & | propertyName, |
const std::vector< double > & | doubleVector | ||
) |
Sets the double vector for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.3.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
doubleVector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetDoubleVector | ( | const char * | propertyName, |
const std::vector< double > & | doubleVector | ||
) |
Sets the double vector for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.3.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
doubleVector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetEnum | ( | const NXString & | propertyName, |
int | value | ||
) |
Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetEnum | ( | const char * | propertyName, |
int | value | ||
) |
Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetEnumAsString | ( | const NXString & | propertyName, |
const NXString & | value | ||
) |
Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetEnumAsString | ( | const char * | propertyName, |
const char * | value | ||
) |
Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetEnumMembers | ( | const NXString & | propertyName, |
std::vector< NXString > & | stringArray | ||
) |
Sets the enum members for the given property of type enum.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
stringArray | Value to set for given property name. |
void NXOpen::PropertyContainer::SetEnumMembers | ( | const char * | propertyName, |
std::vector< NXString > & | stringArray | ||
) |
Sets the enum members for the given property of type enum.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
stringArray | Value to set for given property name. |
Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PropertyContainer::SetFile | ( | const char * | propertyName, |
const char * | value | ||
) |
Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PropertyContainer::SetInteger | ( | const NXString & | propertyName, |
int | value | ||
) |
Sets the integer value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name |
void NXOpen::PropertyContainer::SetInteger | ( | const char * | propertyName, |
int | value | ||
) |
Sets the integer value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name |
void NXOpen::PropertyContainer::SetIntegerMatrix | ( | const NXString & | propertyName, |
int | nRows, | ||
int | nColumns, | ||
const std::vector< int > & | matrixValue | ||
) |
Sets the integer matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
matrixValue | Value to set for given property name. |
void NXOpen::PropertyContainer::SetIntegerMatrix | ( | const char * | propertyName, |
int | nRows, | ||
int | nColumns, | ||
const std::vector< int > & | matrixValue | ||
) |
Sets the integer matrix for the given property name.
Exception will be raised if invalid property name is used. This is a two dimensional array encoded into a single array.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
nRows | Number of Rows in the 2D matrix |
nColumns | Number of Columns in the 2D matrix |
matrixValue | Value to set for given property name. |
void NXOpen::PropertyContainer::SetIntegerVector | ( | const NXString & | propertyName, |
const std::vector< int > & | intVector | ||
) |
Sets the integer vector for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
intVector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetIntegerVector | ( | const char * | propertyName, |
const std::vector< int > & | intVector | ||
) |
Sets the integer vector for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
intVector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetLogical | ( | const NXString & | propertyName, |
bool | value | ||
) |
Sets the logical value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetLogical | ( | const char * | propertyName, |
bool | value | ||
) |
Sets the logical value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetPoint | ( | const NXString & | propertyName, |
const NXOpen::Point3d & | pointSc | ||
) |
Sets the point value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
pointSc | Value to set for given property name. |
void NXOpen::PropertyContainer::SetPoint | ( | const char * | propertyName, |
const NXOpen::Point3d & | pointSc | ||
) |
Sets the point value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
pointSc | Value to set for given property name. |
Sets the string value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetString | ( | const char * | propertyName, |
const char * | value | ||
) |
Sets the string value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
value | Value to set for given property name. |
void NXOpen::PropertyContainer::SetStrings | ( | const NXString & | propertyName, |
std::vector< NXString > & | stringArray | ||
) |
Sets the strings value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
stringArray | Value to set for given property name. |
void NXOpen::PropertyContainer::SetStrings | ( | const char * | propertyName, |
std::vector< NXString > & | stringArray | ||
) |
Sets the strings value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
stringArray | Value to set for given property name. |
void NXOpen::PropertyContainer::SetTaggedObject | ( | const NXString & | propertyName, |
NXOpen::TaggedObject * | taggedSc | ||
) |
Sets the tagged object for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
taggedSc | Value to set for given property name. |
void NXOpen::PropertyContainer::SetTaggedObject | ( | const char * | propertyName, |
NXOpen::TaggedObject * | taggedSc | ||
) |
Sets the tagged object for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
taggedSc | Value to set for given property name. |
void NXOpen::PropertyContainer::SetTaggedObjectVector | ( | const NXString & | propertyName, |
const std::vector< NXOpen::TaggedObject * > & | tagVector | ||
) |
Sets the tagged object vector for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
tagVector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetTaggedObjectVector | ( | const char * | propertyName, |
const std::vector< NXOpen::TaggedObject * > & | tagVector | ||
) |
Sets the tagged object vector for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
tagVector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetVector | ( | const NXString & | propertyName, |
const NXOpen::Vector3d & | vector | ||
) |
Sets the vector value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
vector | Value to set for given property name. |
void NXOpen::PropertyContainer::SetVector | ( | const char * | propertyName, |
const NXOpen::Vector3d & | vector | ||
) |
Sets the vector value for the given property name.
Exception will be raised if invalid property name is used.
Created in NX7.5.0.
License requirements : None
propertyName | Name of the property NOTE: The full Unicode character set is not supported for this parameter. |
vector | Value to set for given property name. |