NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::PropertyContainer Class Reference

Represents a list of properties. More...

Inheritance diagram for NXOpen::PropertyContainer:
NXOpen::TransientObject NXOpen::DataContainer NXOpen::CAE::CaeDataContainer

List of all members.

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::PropertyContainerGetArray (const NXString &propertyName)
 Gets the value for the given property name.
NXOpen::PropertyContainerGetArray (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 (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 (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 (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 (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 (int propertyIndex)
 Gets the value for the given index.
NXString GetEnumAsString (const NXString &propertyName)
 Gets the value for the given property name.
NXString GetEnumAsString (int propertyIndex)
 Gets the value for the given index.
std::vector< NXStringGetEnumMembers (const NXString &propertyName)
 Gets the enum members for the given property of type enum.
std::vector< NXStringGetEnumMembers (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 (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 (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 (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 (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 (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 (int propertyIndex)
 Gets the point value for the given index.
std::vector< NXStringGetPropertyNames ()
 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 (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 (int propertyIndex)
 Gets the string value for the given index.
std::vector< NXStringGetStrings (const NXString &propertyName)
 Gets the strings value for the given property name.
std::vector< NXStringGetStrings (int propertyIndex)
 Gets the strings value for the given index.
NXOpen::TaggedObjectGetTaggedObject (const NXString &propertyName)
 Gets the tagged object for the given property name.
NXOpen::TaggedObjectGetTaggedObject (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 (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 (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 SetDouble (const NXString &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 SetDoubleVector (const NXString &propertyName, const std::vector< int > &doubleVector)
 Sets the double vector 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 SetEnum (const NXString &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 SetEnumMembers (const NXString &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 SetInteger (const NXString &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 SetIntegerVector (const NXString &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 SetPoint (const NXString &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 SetStrings (const NXString &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 SetTaggedObjectVector (const NXString &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.
virtual ~PropertyContainer ()
 Frees the object from memory.

Detailed Description

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.


Member Enumeration Documentation

Indicates whether the properties in the list are named.

Enumerator:
ListModeIndexed 

The properties are not named and must be indexed through an integer index.

ListModeNamed 

The properties are named.

Represents the property types.

Enumerator:
PropertyTypeString 

String.

PropertyTypeDouble 

Double.

PropertyTypeLogical 

Logical.

PropertyTypeInteger 

Integer.

PropertyTypeEnum 

Enum.

PropertyTypeStrings 

Strings.

PropertyTypeUIBlock 

UIBlock.

PropertyTypePoint 

Point.

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.


Constructor & Destructor Documentation

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


Member Function Documentation

Gets the value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the value for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexindex
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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
nRowsNumber of Rows in the 2D matrix
nColumnsNumber 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
nRowsNumber of Rows in the 2D matrix
nColumnsNumber 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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the value for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexindex
std::vector<NXString> NXOpen::PropertyContainer::GetEnumMembers ( const NXString propertyName)

Gets the enum members for the given property of type enum.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given property index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the value for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
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

Returns:
Value to get for given property name
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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

Returns:
Value to get for given index
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
nRowsNumber of Rows in the 2D matrix
nColumnsNumber 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
nRowsNumber of Rows in the 2D matrix
nColumnsNumber 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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
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.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the point value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the point value for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Returns a list of all the property names.

Returns:
Property names
Created in NX7.5.0.

License requirements : None

Returns the property type for given property name.

Returns:
Property type.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Returns the property type for the Indexed property list.

Don't use this method on Named property list

Returns:
Property type.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the string value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the string value for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex
std::vector<NXString> NXOpen::PropertyContainer::GetStrings ( const NXString propertyName)

Gets the strings value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName 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.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the tagged object for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the tagged object for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the tagged object vector for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the tagged object vector for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Gets the vector value for the given property name.

Exception will be raised if invalid property name is used.

Returns:
Value to get for given property name.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.

Gets the vector value for the given index.

Exception will be raised if invalid index is used.

Returns:
Value to get for given index.
Created in NX7.5.0.

License requirements : None
Parameters:
propertyIndexIndex

Returns the length of the list
Created in NX7.5.0.



License requirements : None

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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
bitsScValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
nRowsNumber of Rows in the 2D matrix
nColumnsNumber of Columns in the 2D matrix
matrixValueValue to set for given property name.
void NXOpen::PropertyContainer::SetDoubleVector ( const NXString propertyName,
const std::vector< int > &  doubleVector 
)

Sets the double vector for the given property name.

Exception will be raised if invalid property name is used. Please use the overloaded version of this method.

Deprecated:
Deprecated in NX7.5.3.


Created in NX7.5.0.

License requirements : None

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
doubleVectorValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
doubleVectorValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
stringArrayValue to set for given property name.
void NXOpen::PropertyContainer::SetFile ( 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
nRowsNumber of Rows in the 2D matrix
nColumnsNumber of Columns in the 2D matrix
matrixValueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
intVectorValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
pointScValue to set for given property name.
void NXOpen::PropertyContainer::SetString ( const NXString propertyName,
const NXString 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
valueValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
stringArrayValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
taggedScValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
tagVectorValue 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

Parameters:
propertyNameName of the property
NOTE: The full Unicode character set is not supported for this parameter.
vectorValue to set for given property name.

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.