PropertyContainer Class¶
-
class
NXOpen.
PropertyContainer
¶ Bases:
NXOpen.TransientObject
Represents a list of properties.
The properties can be accessed and modified, but no new property can be added to existing list. Refer to
NXOpen.DataContainer
which allows to add new property to the list.New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
Length | Returns the length of the list |
Mode | Returns the mode of the list |
Methods¶
Method | Description |
---|---|
Dispose | Frees the object from memory. |
GetArray | Gets the value for the given property name. |
GetBits | Gets the bits value for the given property name. |
GetDouble | Gets the double value for the given property name. |
GetDoubleMatrix | Gets the double matrix for the given property name. |
GetDoubleVector | Gets the double vector for the given property name. |
GetEnum | Gets the value for the given property name. |
GetEnumAsString | Gets the value for the given property name. |
GetEnumMembers | Gets the enum members for the given property of type enum. |
GetFile | Gets the value for the given property name. |
GetInteger | Gets the integer value for the given property name. |
GetIntegerMatrix | Gets the integer matrix for the given property name. |
GetIntegerVector | Gets the integer vector for the given property name. |
GetLogical | Gets the logical value for the given property name. |
GetPoint | Gets the point value for the given property name. |
GetPropertyNames | Returns a list of all the property names |
GetPropertyType | Returns the property type for given property name |
GetString | Gets the string value for the given property name. |
GetStrings | Gets the strings value for the given property name. |
GetTaggedObject | Gets the tagged object for the given property name. |
GetTaggedObjectVector | Gets the tagged object vector for the given property name. |
GetVector | Gets the vector value for the given property name. |
SetBits | Sets the bits value for the given property name. |
SetDouble | Sets the double value for the given property name. |
SetDoubleMatrix | Sets the double matrix for the given property name. |
SetDoubleVector | Sets the double vector for the given property name. |
SetEnum | Sets the value for the given property name. |
SetEnumAsString | Sets the value for the given property name. |
SetEnumMembers | Sets the enum members for the given property of type enum. |
SetFile | Sets the value for the given property name. |
SetInteger | Sets the integer value for the given property name. |
SetIntegerMatrix | Sets the integer matrix for the given property name. |
SetIntegerVector | Sets the integer vector for the given property name. |
SetLogical | Sets the logical value for the given property name. |
SetPoint | Sets the point value for the given property name. |
SetString | Sets the string value for the given property name. |
SetStrings | Sets the strings value for the given property name. |
SetTaggedObject | Sets the tagged object for the given property name. |
SetTaggedObjectVector | Sets the tagged object vector for the given property name. |
SetVector | Sets the vector value for the given property name. |
Enumerations¶
PropertyContainerListMode Enumeration | Indicates whether the properties in the list are named. |
PropertyContainerPropertyType Enumeration | Represents the property types. |
Property Detail¶
Length¶
-
PropertyContainer.
Length
¶ Returns the length of the list
-------------------------------------
Getter Method
Signature
Length
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
Mode¶
-
PropertyContainer.
Mode
¶ Returns the mode of the list
-------------------------------------
Getter Method
Signature
Mode
Returns: Return type: NXOpen.PropertyContainerListMode
New in version NX7.5.0.
License requirements: None.
Method Detail¶
Dispose¶
-
PropertyContainer.
Dispose
¶ 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.
Signature
Dispose()
New in version NX7.5.0.
License requirements: None.
GetArray¶
-
PropertyContainer.
GetArray
¶ Overloaded method GetArray
GetArray(propertyName)
GetArray(propertyIndex)
-------------------------------------
Gets the value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetArray(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: NXOpen.PropertyContainer
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the value for the given index. Exception will be raised if invalid index is used.
Signature
GetArray(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: NXOpen.PropertyContainer
New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetBits¶
-
PropertyContainer.
GetBits
¶ Overloaded method GetBits
GetBits(propertyName)
GetBits(propertyIndex)
-------------------------------------
Gets the bits value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetBits(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the bits value for the given index. Exception will be raised if invalid index is used.
Signature
GetBits(propertyIndex)
Parameters: propertyIndex (int) – index Returns: Value to get for given index. Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetDouble¶
-
PropertyContainer.
GetDouble
¶ Overloaded method GetDouble
GetDouble(propertyName)
GetDouble(propertyIndex)
-------------------------------------
Gets the double value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetDouble(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the double value for the given index. Exception will be raised if invalid index is used.
Signature
GetDouble(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetDoubleMatrix¶
-
PropertyContainer.
GetDoubleMatrix
¶ Overloaded method GetDoubleMatrix
GetDoubleMatrix(propertyName)
GetDoubleMatrix(propertyIndex)
-------------------------------------
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.
Signature
GetDoubleMatrix(propertyName)
Parameters: propertyName (str) – Name of the property Returns: a tuple Return type: A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of float. Value to get for given property name. nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix New in version NX7.5.0.
License requirements: None.
-------------------------------------
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.
Signature
GetDoubleMatrix(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: a tuple Return type: A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of float. Value to get for given index. nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetDoubleVector¶
-
PropertyContainer.
GetDoubleVector
¶ Overloaded method GetDoubleVector
GetDoubleVector(propertyName)
GetDoubleVector(propertyIndex)
-------------------------------------
Gets the double vector for the given property name. Exception will be raised if invalid property name is used.
Signature
GetDoubleVector(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: list of float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the double vector for the given index. Exception will be raised if invalid index is used.
Signature
GetDoubleVector(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: list of float New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetEnum¶
-
PropertyContainer.
GetEnum
¶ Overloaded method GetEnum
GetEnum(propertyName)
GetEnum(propertyIndex)
-------------------------------------
Gets the value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetEnum(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the value for the given index. Exception will be raised if invalid index is used.
Signature
GetEnum(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetEnumAsString¶
-
PropertyContainer.
GetEnumAsString
¶ Overloaded method GetEnumAsString
GetEnumAsString(propertyName)
GetEnumAsString(propertyIndex)
-------------------------------------
Gets the value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetEnumAsString(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the value for the given index. Exception will be raised if invalid index is used.
Signature
GetEnumAsString(propertyIndex)
Parameters: propertyIndex (int) – index Returns: Value to get for given index. Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetEnumMembers¶
-
PropertyContainer.
GetEnumMembers
¶ Overloaded method GetEnumMembers
GetEnumMembers(propertyName)
GetEnumMembers(propertyIndex)
-------------------------------------
Gets the enum members for the given property of type enum. Exception will be raised if invalid property name is used.
Signature
GetEnumMembers(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: list of str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the enum members for the given property index. Exception will be raised if invalid property name is used.
Signature
GetEnumMembers(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given property index. Return type: list of str New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetFile¶
-
PropertyContainer.
GetFile
¶ Overloaded method GetFile
GetFile(propertyName)
GetFile(propertyIndex)
-------------------------------------
Gets the value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetFile(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the value for the given index. Exception will be raised if invalid index is used.
Signature
GetFile(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetInteger¶
-
PropertyContainer.
GetInteger
¶ Overloaded method GetInteger
GetInteger(propertyName)
GetInteger(propertyIndex)
-------------------------------------
Gets the integer value for the given property name. Exception will be raised if invalid property name is used
Signature
GetInteger(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the integer value for the given index. Exception will be raised if invalid index is used
Signature
GetInteger(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetIntegerMatrix¶
-
PropertyContainer.
GetIntegerMatrix
¶ Overloaded method GetIntegerMatrix
GetIntegerMatrix(propertyName)
GetIntegerMatrix(propertyIndex)
-------------------------------------
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.
Signature
GetIntegerMatrix(propertyName)
Parameters: propertyName (str) – Name of the property Returns: a tuple Return type: A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of int. Value to get for given property name. nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix New in version NX7.5.0.
License requirements: None.
-------------------------------------
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.
Signature
GetIntegerMatrix(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: a tuple Return type: A tuple consisting of (matrixValue, nRows, nColumns) matrixValue is a list of int. Value to get for given index. nRows is a int. Number of Rows in the 2D matrix nColumns is a int. Number of Columns in the 2D matrix New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetIntegerVector¶
-
PropertyContainer.
GetIntegerVector
¶ Overloaded method GetIntegerVector
GetIntegerVector(propertyName)
GetIntegerVector(propertyIndex)
-------------------------------------
Gets the integer vector for the given property name. Exception will be raised if invalid property name is used.
Signature
GetIntegerVector(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: list of int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the integer vector for the given index. Exception will be raised if invalid index is used.
Signature
GetIntegerVector(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: list of int New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetLogical¶
-
PropertyContainer.
GetLogical
¶ Overloaded method GetLogical
GetLogical(propertyName)
GetLogical(propertyIndex)
-------------------------------------
Gets the logical value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetLogical(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the logical value for the given index. Exception will be raised if invalid index is used.
Signature
GetLogical(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetPoint¶
-
PropertyContainer.
GetPoint
¶ Overloaded method GetPoint
GetPoint(propertyName)
GetPoint(propertyIndex)
-------------------------------------
Gets the point value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetPoint(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: NXOpen.Point3d
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the point value for the given index. Exception will be raised if invalid index is used.
Signature
GetPoint(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: NXOpen.Point3d
New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetPropertyNames¶
-
PropertyContainer.
GetPropertyNames
¶ Returns a list of all the property names
Signature
GetPropertyNames()
Returns: Property names Return type: list of str New in version NX7.5.0.
License requirements: None.
GetPropertyType¶
-
PropertyContainer.
GetPropertyType
¶ Overloaded method GetPropertyType
GetPropertyType(propertyName)
GetPropertyType(propertyIndex)
-------------------------------------
Returns the property type for given property name
Signature
GetPropertyType(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Property type. Return type: NXOpen.PropertyContainerPropertyType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Returns the property type for the Indexed property list. Don’t use this method on Named property list
Signature
GetPropertyType(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Property type. Return type: NXOpen.PropertyContainerPropertyType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetString¶
-
PropertyContainer.
GetString
¶ Overloaded method GetString
GetString(propertyName)
GetString(propertyIndex)
-------------------------------------
Gets the string value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetString(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the string value for the given index. Exception will be raised if invalid index is used.
Signature
GetString(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetStrings¶
-
PropertyContainer.
GetStrings
¶ Overloaded method GetStrings
GetStrings(propertyName)
GetStrings(propertyIndex)
-------------------------------------
Gets the strings value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetStrings(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: list of str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the strings value for the given index. Exception will be raised if invalid index is used.
Signature
GetStrings(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: list of str New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetTaggedObject¶
-
PropertyContainer.
GetTaggedObject
¶ Overloaded method GetTaggedObject
GetTaggedObject(propertyName)
GetTaggedObject(propertyIndex)
-------------------------------------
Gets the tagged object for the given property name. Exception will be raised if invalid property name is used.
Signature
GetTaggedObject(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: NXOpen.TaggedObject
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the tagged object for the given index. Exception will be raised if invalid index is used.
Signature
GetTaggedObject(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: NXOpen.TaggedObject
New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetTaggedObjectVector¶
-
PropertyContainer.
GetTaggedObjectVector
¶ Overloaded method GetTaggedObjectVector
GetTaggedObjectVector(propertyName)
GetTaggedObjectVector(propertyIndex)
-------------------------------------
Gets the tagged object vector for the given property name. Exception will be raised if invalid property name is used.
Signature
GetTaggedObjectVector(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: list of NXOpen.TaggedObject
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the tagged object vector for the given index. Exception will be raised if invalid index is used.
Signature
GetTaggedObjectVector(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given property name. Return type: list of NXOpen.TaggedObject
New in version NX7.5.0.
License requirements: None.
-------------------------------------
GetVector¶
-
PropertyContainer.
GetVector
¶ Overloaded method GetVector
GetVector(propertyName)
GetVector(propertyIndex)
-------------------------------------
Gets the vector value for the given property name. Exception will be raised if invalid property name is used.
Signature
GetVector(propertyName)
Parameters: propertyName (str) – Name of the property Returns: Value to get for given property name. Return type: NXOpen.Vector3d
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Gets the vector value for the given index. Exception will be raised if invalid index is used.
Signature
GetVector(propertyIndex)
Parameters: propertyIndex (int) – Index Returns: Value to get for given index. Return type: NXOpen.Vector3d
New in version NX7.5.0.
License requirements: None.
-------------------------------------
SetBits¶
-
PropertyContainer.
SetBits
¶ Sets the bits value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetBits(propertyName, bitsSc)
Parameters: - propertyName (str) – Name of the property
- bitsSc (int) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetDouble¶
-
PropertyContainer.
SetDouble
¶ Sets the double value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetDouble(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (float) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetDoubleMatrix¶
-
PropertyContainer.
SetDoubleMatrix
¶ 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.
Signature
SetDoubleMatrix(propertyName, nRows, nColumns, matrixValue)
Parameters: - propertyName (str) – Name of the property
- nRows (int) – Number of Rows in the 2D matrix
- nColumns (int) – Number of Columns in the 2D matrix
- matrixValue (list of float) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetDoubleVector¶
-
PropertyContainer.
SetDoubleVector
¶ Sets the double vector for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetDoubleVector(propertyName, doubleVector)
Parameters: - propertyName (str) – Name of the property
- doubleVector (list of float) – Value to set for given property name.
New in version NX7.5.3.
License requirements: None.
SetEnum¶
-
PropertyContainer.
SetEnum
¶ Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetEnum(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (int) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetEnumAsString¶
-
PropertyContainer.
SetEnumAsString
¶ Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetEnumAsString(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (str) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetEnumMembers¶
-
PropertyContainer.
SetEnumMembers
¶ Sets the enum members for the given property of type enum.
Exception will be raised if invalid property name is used.
Signature
SetEnumMembers(propertyName, stringArray)
Parameters: - propertyName (str) – Name of the property
- stringArray (list of str) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetFile¶
-
PropertyContainer.
SetFile
¶ Sets the value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetFile(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (str) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetInteger¶
-
PropertyContainer.
SetInteger
¶ Sets the integer value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetInteger(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (int) – Value to set for given property name
New in version NX7.5.0.
License requirements: None.
SetIntegerMatrix¶
-
PropertyContainer.
SetIntegerMatrix
¶ 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.
Signature
SetIntegerMatrix(propertyName, nRows, nColumns, matrixValue)
Parameters: - propertyName (str) – Name of the property
- nRows (int) – Number of Rows in the 2D matrix
- nColumns (int) – Number of Columns in the 2D matrix
- matrixValue (list of int) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetIntegerVector¶
-
PropertyContainer.
SetIntegerVector
¶ Sets the integer vector for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetIntegerVector(propertyName, intVector)
Parameters: - propertyName (str) – Name of the property
- intVector (list of int) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetLogical¶
-
PropertyContainer.
SetLogical
¶ Sets the logical value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetLogical(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (bool) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetPoint¶
-
PropertyContainer.
SetPoint
¶ Sets the point value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetPoint(propertyName, pointSc)
Parameters: - propertyName (str) – Name of the property
- pointSc (
NXOpen.Point3d
) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetString¶
-
PropertyContainer.
SetString
¶ Sets the string value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetString(propertyName, value)
Parameters: - propertyName (str) – Name of the property
- value (str) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetStrings¶
-
PropertyContainer.
SetStrings
¶ Sets the strings value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetStrings(propertyName, stringArray)
Parameters: - propertyName (str) – Name of the property
- stringArray (list of str) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetTaggedObject¶
-
PropertyContainer.
SetTaggedObject
¶ Sets the tagged object for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetTaggedObject(propertyName, taggedSc)
Parameters: - propertyName (str) – Name of the property
- taggedSc (
NXOpen.TaggedObject
) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetTaggedObjectVector¶
-
PropertyContainer.
SetTaggedObjectVector
¶ Sets the tagged object vector for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetTaggedObjectVector(propertyName, tagVector)
Parameters: - propertyName (str) – Name of the property
- tagVector (list of
NXOpen.TaggedObject
) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.
SetVector¶
-
PropertyContainer.
SetVector
¶ Sets the vector value for the given property name.
Exception will be raised if invalid property name is used.
Signature
SetVector(propertyName, vector)
Parameters: - propertyName (str) – Name of the property
- vector (
NXOpen.Vector3d
) – Value to set for given property name.
New in version NX7.5.0.
License requirements: None.