BasePropertyTable Class¶
-
class
NXOpen.
BasePropertyTable
¶ Bases:
NXOpen.NXObject
Represents a property table
This is a sub object
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
DescriptorNeutralName | Returns the neutral name of the property table’s descriptor |
DescriptorSpecificName | Returns the language specific name of the property table’s descriptor |
IsOccurrence | Returns whether this object is an occurrence or not. |
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
Name | Returns the custom name of the object. |
OwningComponent | Returns the owning component, if this object is an occurrence. |
OwningPart | Returns the owning part of this object |
Prototype | Returns the prototype of this object if it is an occurrence. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
AddRowScalarFieldTable | Add row operation for scalar field table |
ClearTablePropertyOverride | Clear property override flag. |
CopyProperties | Copies the values from the input table into this table, the table descriptor neutral names must match |
CopyProperty | Copy the value of one property from the source table into this table |
CreateAttributeIterator | Create an attribute iterator |
DeleteAllAttributesByType | Deletes all attributes of a specific type. |
DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
DeleteRowScalarFieldTable | Delete row operation for scalar field table |
DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
GetBasePropertyType | Returns the type of the property |
GetBaseScalarFieldPropertyValue | Returns the field expression NXOpen.Fields.FieldExpression value of the property |
GetBaseScalarWithDataPropertyValue | Returns the double value of the property with units |
GetBooleanPropertyValue | Returns the boolean value of the property |
GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
GetComplexScalarFieldWrapperPropertyValue | Returns the complex scalar field wrapper NXOpen.Fields.ComplexScalarFieldWrapper |
GetComplexVectorFieldWrapperPropertyValue | Returns the complex vector field wrapper NXOpen.Fields.ComplexScalarFieldWrapper |
GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetCoordinateSystemPropertyValue | Returns the coordinate system NXOpen.CoordinateSystem |
GetDoublePropertyValue | Returns the double value of the property |
GetFieldWrapperPropertyValue | Returns the field wrapper NXOpen.Fields.FieldWrapper |
GetFileReferencePropertyValue | Returns the file reference value of the property |
GetIntegerArrayPropertyValue | Returns the integer array value of the property |
GetIntegerAttribute | Gets an integer attribute by title. |
GetIntegerPropertyValue | Returns the integer value of the property |
GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
GetMaterialPropertyValue | Gets the material value |
GetMatrixPropertyValue | Returns a matrix cell value from the matrix value of the property |
GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
GetPdmReferenceAttributeValue | Gets the value of PDM Reference attribute for given object. |
GetPropertyCount | The count of properties in the table |
GetPropertyNameByIndex | Returns the name of the property |
GetRealAttribute | Gets a real attribute by title. |
GetRealUserAttribute | Gets a real attribute by Title and array Index. |
GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
GetScalarArrayPropertyValue | Returns the scalar array value of the property. |
GetScalarArrayWithUnitsPropertyValue | Returns the scalar array and unit value of the property |
GetScalarFieldTableRowCol | Sets the scalar field wrapper NXOpen.Fields.ScalarFieldWrapper |
GetScalarFieldWrapperByIndex | Returns the scalar field wrapper NXOpen.Fields.FieldWrapper |
GetScalarFieldWrapperPropertyValue | Returns the scalar field wrapper NXOpen.Fields.ScalarFieldWrapper |
GetScalarPropertyValue | Returns the expression NXOpen.Expression value of the property Use NXOpen.BasePropertyTable.SetBaseScalarWithDataPropertyValue() for a constant value when an expression NXOpen.Expression is not needed. |
GetScalarTablePropertyValue | Returns a scalar table value value from the scalar table value of the property |
GetStringAttribute | Gets a string attribute value by title. |
GetStringPropertyValue | Returns the string value of the property |
GetStringUserAttribute | Gets a string attribute by Title and array Index. |
GetTimeAttribute | Gets a time attribute by title. |
GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
GetUserAttributeLock | Determine the lock of the given attribute. |
GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator |
Prints a representation of this object to the system log file. | |
SetAttribute | Creates or modifies an integer attribute. |
SetBaseScalarFieldPropertyValue | Sets the field expression NXOpen.Fields.FieldExpression value of the property |
SetBaseScalarWithDataPropertyValue | Sets the the Scalar property as a constant double value with units. |
SetBooleanPropertyValue | Sets the boolean value of the property |
SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
SetComplexScalarFieldWrapperPropertyValue | Sets the complex scalar field wrapper NXOpen.Fields.ComplexScalarFieldWrapper |
SetComplexVectorFieldWrapperPropertyValue | Sets the complex vector field wrapper NXOpen.Fields.ComplexVectorFieldWrapper |
SetCoordinateSystemPropertyValue | Sets the coordinate system NXOpen.CoordinateSystem |
SetDoublePropertyValue | Sets the double value of the property |
SetFieldWrapperPropertyValue | Sets the field wrapper NXOpen.Fields.FieldWrapper |
SetFileReferencePropertyValue | Sets the file reference value of the property |
SetIntegerArrayPropertyValue | Sets the integer array value of the property |
SetIntegerPropertyValue | Sets the integer value of the property |
SetMaterialPropertyValue | Sets the material value |
SetMatrixPropertyValue | Set a matrix cell value from the matrix value of the property |
SetName | Sets the custom name of the object. |
SetPdmReferenceAttribute | Sets the value of PDM Reference attribute on the object. |
SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
SetScalarArrayPropertyValue | Sets the scalar array value of the property. |
SetScalarArrayWithUnitsPropertyValue | Sets the scalar array and unit value of the property |
SetScalarFieldWrapperByIndex | Sets the scalar field wrapper NXOpen.Fields.ScalarFieldWrapper |
SetScalarFieldWrapperPropertyValue | Sets the scalar field wrapper NXOpen.Fields.ScalarFieldWrapper |
SetScalarPropertyValue | Sets the expression NXOpen.Expression value of the property Use NXOpen.BasePropertyTable.SetBaseScalarWithDataPropertyValue() for a constant value when an expression NXOpen.Expression is not needed. |
SetScalarTablePropertyValue | Set a scalar table value from the scalar table value of the property |
SetStringPropertyValue | Sets the string value of the property |
SetTablePropertyOverride | Set property override flag. |
SetTablePropertyWithoutValue | Unset a property. |
SetTimeAttribute | Creates or modifies a time attribute. |
SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
SetUserAttributeLock | Lock or unlock the given attribute. |
Enumerations¶
BasePropertyTableBasePropertyType Enumeration | Property Types |
Property Detail¶
DescriptorNeutralName¶
-
BasePropertyTable.
DescriptorNeutralName
¶ Returns the neutral name of the property table’s descriptor
-------------------------------------
Getter Method
Signature
DescriptorNeutralName
Returns: Property table descriptor neutral name Return type: str New in version NX8.5.0.
License requirements: None.
DescriptorSpecificName¶
-
BasePropertyTable.
DescriptorSpecificName
¶ Returns the language specific name of the property table’s descriptor
-------------------------------------
Getter Method
Signature
DescriptorSpecificName
Returns: Property table descriptor name Return type: str New in version NX8.5.0.
License requirements: None.
IsOccurrence¶
-
BasePropertyTable.
IsOccurrence
¶ Returns whether this object is an occurrence or not.
-------------------------------------
Getter Method
Signature
IsOccurrence
Returns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
JournalIdentifier¶
-
BasePropertyTable.
JournalIdentifier
¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------
Getter Method
Signature
JournalIdentifier
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
Name¶
-
BasePropertyTable.
Name
¶ Returns the custom name of the object.
-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
OwningComponent¶
-
BasePropertyTable.
OwningComponent
¶ Returns the owning component, if this object is an occurrence.
-------------------------------------
Getter Method
Signature
OwningComponent
Returns: Return type: NXOpen.Assemblies.Component
New in version NX3.0.0.
License requirements: None.
OwningPart¶
-
BasePropertyTable.
OwningPart
¶ Returns the owning part of this object
-------------------------------------
Getter Method
Signature
OwningPart
Returns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePart
New in version NX3.0.0.
License requirements: None.
Prototype¶
-
BasePropertyTable.
Prototype
¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------
Getter Method
Signature
Prototype
Returns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
Method Detail¶
AddRowScalarFieldTable¶
-
BasePropertyTable.
AddRowScalarFieldTable
¶ Add row operation for scalar field table
Signature
AddRowScalarFieldTable(propertyName)
Parameters: propertyName (str) – name of the property New in version NX11.0.0.
License requirements: None.
ClearTablePropertyOverride¶
-
BasePropertyTable.
ClearTablePropertyOverride
¶ Clear property override flag.
Signature
ClearTablePropertyOverride(propertyName)
Parameters: propertyName (str) – name of the property New in version NX9.0.0.
License requirements: None.
CopyProperties¶
-
BasePropertyTable.
CopyProperties
¶ Copies the values from the input table into this table, the table descriptor neutral names must match
Signature
CopyProperties(sourceTable)
Parameters: sourceTable ( NXOpen.BasePropertyTable
) –New in version NX9.0.0.
License requirements: None.
CopyProperty¶
-
BasePropertyTable.
CopyProperty
¶ Copy the value of one property from the source table into this table
Signature
CopyProperty(propertyName, sourcePropertyTable)
Parameters: - propertyName (str) – name of the property
- sourcePropertyTable (
NXOpen.BasePropertyTable
) – source property table
New in version NX10.0.0.
License requirements: None.
DeleteRowScalarFieldTable¶
-
BasePropertyTable.
DeleteRowScalarFieldTable
¶ Delete row operation for scalar field table
Signature
DeleteRowScalarFieldTable(propertyName)
Parameters: propertyName (str) – name of the property New in version NX11.0.0.
License requirements: None.
FindObject¶
-
BasePropertyTable.
FindObject
¶ Finds the
NXOpen.NXObject
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
GetBasePropertyType¶
-
BasePropertyTable.
GetBasePropertyType
¶ Returns the type of the property
Signature
GetBasePropertyType(propertyName)
Parameters: propertyName (str) – name of the property Returns: type of the property Return type: NXOpen.BasePropertyTableBasePropertyType
New in version NX9.0.0.
License requirements: None.
GetBaseScalarFieldPropertyValue¶
-
BasePropertyTable.
GetBaseScalarFieldPropertyValue
¶ Returns the field expression
NXOpen.Fields.FieldExpression
value of the propertySignature
GetBaseScalarFieldPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.Fields.FieldExpression
New in version NX9.0.0.
License requirements: None.
GetBaseScalarWithDataPropertyValue¶
-
BasePropertyTable.
GetBaseScalarWithDataPropertyValue
¶ Returns the double value of the property with units
Signature
GetBaseScalarWithDataPropertyValue(propertyName)
Parameters: propertyName (str) – name of the Scalar Returns: a tuple Return type: A tuple consisting of (propertyValue, unitType). propertyValue is a float. The current double value of the Scalar unitType is a NXOpen.Unit
. Unit type for the Scalar None if the Scalar has no unitsNew in version NX9.0.0.
License requirements: None.
GetBooleanPropertyValue¶
-
BasePropertyTable.
GetBooleanPropertyValue
¶ Returns the boolean value of the property
Signature
GetBooleanPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: bool New in version NX4.0.0.
License requirements: None.
GetComplexScalarFieldWrapperPropertyValue¶
-
BasePropertyTable.
GetComplexScalarFieldWrapperPropertyValue
¶ Returns the complex scalar field wrapper
NXOpen.Fields.ComplexScalarFieldWrapper
Signature
GetComplexScalarFieldWrapperPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.Fields.ComplexScalarFieldWrapper
New in version NX11.0.0.
License requirements: None.
GetComplexVectorFieldWrapperPropertyValue¶
-
BasePropertyTable.
GetComplexVectorFieldWrapperPropertyValue
¶ Returns the complex vector field wrapper
NXOpen.Fields.ComplexScalarFieldWrapper
Signature
GetComplexVectorFieldWrapperPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.Fields.ComplexVectorFieldWrapper
New in version NX12.0.0.
License requirements: None.
GetCoordinateSystemPropertyValue¶
-
BasePropertyTable.
GetCoordinateSystemPropertyValue
¶ Returns the coordinate system
NXOpen.CoordinateSystem
Signature
GetCoordinateSystemPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.CoordinateSystem
New in version NX4.0.0.
License requirements: None.
GetDoublePropertyValue¶
-
BasePropertyTable.
GetDoublePropertyValue
¶ Returns the double value of the property
Signature
GetDoublePropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: float New in version NX4.0.0.
License requirements: None.
GetFieldWrapperPropertyValue¶
-
BasePropertyTable.
GetFieldWrapperPropertyValue
¶ Returns the field wrapper
NXOpen.Fields.FieldWrapper
Signature
GetFieldWrapperPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.Fields.FieldWrapper
New in version NX6.0.0.
License requirements: None.
GetFileReferencePropertyValue¶
-
BasePropertyTable.
GetFileReferencePropertyValue
¶ Returns the file reference value of the property
Signature
GetFileReferencePropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: str New in version NX12.0.0.
License requirements: None.
GetIntegerArrayPropertyValue¶
-
BasePropertyTable.
GetIntegerArrayPropertyValue
¶ Returns the integer array value of the property
Signature
GetIntegerArrayPropertyValue(propertyName)
Parameters: propertyName (str) – Returns: Return type: list of int New in version NX5.0.0.
License requirements: None.
GetIntegerPropertyValue¶
-
BasePropertyTable.
GetIntegerPropertyValue
¶ Returns the integer value of the property
Signature
GetIntegerPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: int New in version NX4.0.0.
License requirements: None.
GetMaterialPropertyValue¶
-
BasePropertyTable.
GetMaterialPropertyValue
¶ Gets the material value
Signature
GetMaterialPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: a tuple Return type: A tuple consisting of (materialInherited, material). materialInherited is a bool. true indicate the material is inherited from referenced object assignments such as geometry material is a NXOpen.PhysicalMaterial
. the material value to assignNew in version NX9.0.0.
License requirements: None.
GetMatrixPropertyValue¶
-
BasePropertyTable.
GetMatrixPropertyValue
¶ Returns a matrix cell value from the matrix value of the property
Signature
GetMatrixPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: NxM Scalar matrix Return type: NXOpen.ScalarMatrixValue
New in version NX6.0.0.
License requirements: None.
GetPropertyCount¶
-
BasePropertyTable.
GetPropertyCount
¶ The count of properties in the table
Signature
GetPropertyCount()
Returns: count of properties Return type: int New in version NX4.0.0.
License requirements: None.
GetPropertyNameByIndex¶
-
BasePropertyTable.
GetPropertyNameByIndex
¶ Returns the name of the property
Signature
GetPropertyNameByIndex(index)
Parameters: index (int) – index of the property Returns: name of the property Return type: str New in version NX4.0.0.
License requirements: None.
GetScalarArrayPropertyValue¶
-
BasePropertyTable.
GetScalarArrayPropertyValue
¶ Returns the scalar array value of the property.
Use
NXOpen.BasePropertyTable.GetScalarArrayWithUnitsPropertyValue()
when other than base units are set.Signature
GetScalarArrayPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: list of float New in version NX5.0.0.
License requirements: None.
GetScalarArrayWithUnitsPropertyValue¶
-
BasePropertyTable.
GetScalarArrayWithUnitsPropertyValue
¶ Returns the scalar array and unit value of the property
Signature
GetScalarArrayWithUnitsPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: a tuple Return type: A tuple consisting of (propertyValue, unitType). propertyValue is a list of float. array of values of the property unitType is a NXOpen.Unit
. Unit type for the Array None if the Array has no unitsNew in version NX7.5.0.
License requirements: None.
GetScalarFieldTableRowCol¶
-
BasePropertyTable.
GetScalarFieldTableRowCol
¶ Sets the scalar field wrapper
NXOpen.Fields.ScalarFieldWrapper
Signature
GetScalarFieldTableRowCol(propertyName)
Parameters: propertyName (str) – name of the property Returns: a tuple Return type: A tuple consisting of (nRows, nCols) nRows is a int. row number nCols is a int. col number .. versionadded:: NX11.0.0
License requirements: None.
GetScalarFieldWrapperByIndex¶
-
BasePropertyTable.
GetScalarFieldWrapperByIndex
¶ Returns the scalar field wrapper
NXOpen.Fields.FieldWrapper
Signature
GetScalarFieldWrapperByIndex(iRow, iCol, propertyName)
Parameters: - iRow (int) – row number
- iCol (int) – col number
- propertyName (str) – name of the property
Returns: value of the property
Return type: New in version NX11.0.0.
License requirements: None.
GetScalarFieldWrapperPropertyValue¶
-
BasePropertyTable.
GetScalarFieldWrapperPropertyValue
¶ Returns the scalar field wrapper
NXOpen.Fields.ScalarFieldWrapper
Signature
GetScalarFieldWrapperPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.Fields.ScalarFieldWrapper
New in version NX6.0.0.
License requirements: None.
GetScalarPropertyValue¶
-
BasePropertyTable.
GetScalarPropertyValue
¶ Returns the expression
NXOpen.Expression
value of the property UseNXOpen.BasePropertyTable.SetBaseScalarWithDataPropertyValue()
for a constant value when an expressionNXOpen.Expression
is not needed.Signature
GetScalarPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: None.
GetScalarTablePropertyValue¶
-
BasePropertyTable.
GetScalarTablePropertyValue
¶ Returns a scalar table value value from the scalar table value of the property
Signature
GetScalarTablePropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: NxM Scalar table Return type: NXOpen.ScalarTableValue
New in version NX6.0.0.
License requirements: None.
GetStringPropertyValue¶
-
BasePropertyTable.
GetStringPropertyValue
¶ Returns the string value of the property
Signature
GetStringPropertyValue(propertyName)
Parameters: propertyName (str) – name of the property Returns: value of the property Return type: str New in version NX4.0.0.
License requirements: None.
Print¶
-
BasePropertyTable.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
SetBaseScalarFieldPropertyValue¶
-
BasePropertyTable.
SetBaseScalarFieldPropertyValue
¶ Sets the field expression
NXOpen.Fields.FieldExpression
value of the propertySignature
SetBaseScalarFieldPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.Fields.FieldExpression
) – value of the property
New in version NX9.0.0.
License requirements: None.
SetBaseScalarWithDataPropertyValue¶
-
BasePropertyTable.
SetBaseScalarWithDataPropertyValue
¶ Overloaded method SetBaseScalarWithDataPropertyValue
SetBaseScalarWithDataPropertyValue(propertyName, propertyValue, unitType)
SetBaseScalarWithDataPropertyValue(propertyName, propertyValue, unitType)
-------------------------------------
Sets the the Scalar property as a constant double value with units. Use
NXOpen.BasePropertyTable.SetScalarPropertyValue()
to enable Design Logic for this property.Signature
SetBaseScalarWithDataPropertyValue(propertyName, propertyValue, unitType)
Parameters: - propertyName (str) – name of the property
- propertyValue (float) – The double value for the Scalar
- unitType (
NXOpen.Unit
) – Unit type for the Scalar NXOpen.Unit.NULL if the Scalar has no units
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Sets the the Scalar property as a string value with units. When the string does not represent a constant number, then an expression is created. Once a property has an expression, subsequent set commands will retain the expression and edit the new string into it. The string must not be empty. To set this property to empty, use
NXOpen.BasePropertyTable.SetTablePropertyWithoutValue()
.Signature
SetBaseScalarWithDataPropertyValue(propertyName, propertyValue, unitType)
Parameters: - propertyName (str) – name of the property
- propertyValue (str) – The string value for the Scalar
- unitType (
NXOpen.Unit
) – Unit type for the Scalar NXOpen.Unit.NULL if the Scalar has no units
New in version NX9.0.0.
License requirements: None.
-------------------------------------
SetBooleanPropertyValue¶
-
BasePropertyTable.
SetBooleanPropertyValue
¶ Sets the boolean value of the property
Signature
SetBooleanPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (bool) – value of the property
New in version NX4.0.0.
License requirements: None.
SetComplexScalarFieldWrapperPropertyValue¶
-
BasePropertyTable.
SetComplexScalarFieldWrapperPropertyValue
¶ Sets the complex scalar field wrapper
NXOpen.Fields.ComplexScalarFieldWrapper
Signature
SetComplexScalarFieldWrapperPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.Fields.ComplexScalarFieldWrapper
) – value of the property
New in version NX11.0.0.
License requirements: None.
SetComplexVectorFieldWrapperPropertyValue¶
-
BasePropertyTable.
SetComplexVectorFieldWrapperPropertyValue
¶ Sets the complex vector field wrapper
NXOpen.Fields.ComplexVectorFieldWrapper
Signature
SetComplexVectorFieldWrapperPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.Fields.ComplexVectorFieldWrapper
) – value of the property
New in version NX12.0.0.
License requirements: None.
SetCoordinateSystemPropertyValue¶
-
BasePropertyTable.
SetCoordinateSystemPropertyValue
¶ Sets the coordinate system
NXOpen.CoordinateSystem
Signature
SetCoordinateSystemPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.CoordinateSystem
) – value of the property
New in version NX4.0.0.
License requirements: None.
SetDoublePropertyValue¶
-
BasePropertyTable.
SetDoublePropertyValue
¶ Sets the double value of the property
Signature
SetDoublePropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (float) – value of the property
New in version NX4.0.0.
License requirements: None.
SetFieldWrapperPropertyValue¶
-
BasePropertyTable.
SetFieldWrapperPropertyValue
¶ Sets the field wrapper
NXOpen.Fields.FieldWrapper
Signature
SetFieldWrapperPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.Fields.FieldWrapper
) – value of the property
New in version NX6.0.0.
License requirements: None.
SetFileReferencePropertyValue¶
-
BasePropertyTable.
SetFileReferencePropertyValue
¶ Sets the file reference value of the property
Signature
SetFileReferencePropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (str) – value of the property
New in version NX12.0.0.
License requirements: None.
SetIntegerArrayPropertyValue¶
-
BasePropertyTable.
SetIntegerArrayPropertyValue
¶ Sets the integer array value of the property
Signature
SetIntegerArrayPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) –
- propertyValue (list of int) –
New in version NX5.0.0.
License requirements: None.
SetIntegerPropertyValue¶
-
BasePropertyTable.
SetIntegerPropertyValue
¶ Sets the integer value of the property
Signature
SetIntegerPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (int) – value of the property
New in version NX4.0.0.
License requirements: None.
SetMaterialPropertyValue¶
-
BasePropertyTable.
SetMaterialPropertyValue
¶ Sets the material value
Signature
SetMaterialPropertyValue(propertyName, materialInherited, material)
Parameters: - propertyName (str) – name of the property
- materialInherited (bool) – true indicate the material is inherited from referenced object assignments such as geometry
- material (
NXOpen.PhysicalMaterial
) – the material value to assign
New in version NX6.0.3.
License requirements: None.
SetMatrixPropertyValue¶
-
BasePropertyTable.
SetMatrixPropertyValue
¶ Set a matrix cell value from the matrix value of the property
Signature
SetMatrixPropertyValue(propertyName, matrix)
Parameters: - propertyName (str) – name of the property
- matrix (
NXOpen.ScalarMatrixValue
) – NxM Scalar matrix
New in version NX6.0.0.
License requirements: None.
SetName¶
-
BasePropertyTable.
SetName
¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)
Parameters: name (str) – New in version NX3.0.0.
License requirements: None.
SetScalarArrayPropertyValue¶
-
BasePropertyTable.
SetScalarArrayPropertyValue
¶ Sets the scalar array value of the property.
Use
NXOpen.BasePropertyTable.SetScalarArrayWithUnitsPropertyValue()
when other than base units are set.Signature
SetScalarArrayPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (list of float) – value of the property
New in version NX5.0.0.
License requirements: None.
SetScalarArrayWithUnitsPropertyValue¶
-
BasePropertyTable.
SetScalarArrayWithUnitsPropertyValue
¶ Sets the scalar array and unit value of the property
Signature
SetScalarArrayWithUnitsPropertyValue(propertyName, propertyValue, unitType)
Parameters: - propertyName (str) – name of the property
- propertyValue (list of float) – value of the property
- unitType (
NXOpen.Unit
) – Unit type for the Array
New in version NX7.5.0.
License requirements: None.
SetScalarFieldWrapperByIndex¶
-
BasePropertyTable.
SetScalarFieldWrapperByIndex
¶ Sets the scalar field wrapper
NXOpen.Fields.ScalarFieldWrapper
Signature
SetScalarFieldWrapperByIndex(iRow, iCol, propertyName, propertyValue)
Parameters: - iRow (int) – row number
- iCol (int) – col number
- propertyName (str) – name of the property
- propertyValue (
NXOpen.Fields.ScalarFieldWrapper
) – value of the property
New in version NX11.0.0.
License requirements: None.
SetScalarFieldWrapperPropertyValue¶
-
BasePropertyTable.
SetScalarFieldWrapperPropertyValue
¶ Sets the scalar field wrapper
NXOpen.Fields.ScalarFieldWrapper
Signature
SetScalarFieldWrapperPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.Fields.ScalarFieldWrapper
) – value of the property
New in version NX6.0.0.
License requirements: None.
SetScalarPropertyValue¶
-
BasePropertyTable.
SetScalarPropertyValue
¶ Sets the expression
NXOpen.Expression
value of the property UseNXOpen.BasePropertyTable.SetBaseScalarWithDataPropertyValue()
for a constant value when an expressionNXOpen.Expression
is not needed.Signature
SetScalarPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (
NXOpen.Expression
) – value of the property
New in version NX4.0.0.
License requirements: None.
SetScalarTablePropertyValue¶
-
BasePropertyTable.
SetScalarTablePropertyValue
¶ Set a scalar table value from the scalar table value of the property
Signature
SetScalarTablePropertyValue(propertyName, table)
Parameters: - propertyName (str) – name of the property
- table (
NXOpen.ScalarTableValue
) – NxM Scalar table
New in version NX6.0.0.
License requirements: None.
SetStringPropertyValue¶
-
BasePropertyTable.
SetStringPropertyValue
¶ Sets the string value of the property
Signature
SetStringPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) – name of the property
- propertyValue (str) – value of the property
New in version NX4.0.0.
License requirements: None.
SetTablePropertyOverride¶
-
BasePropertyTable.
SetTablePropertyOverride
¶ Set property override flag.
Signature
SetTablePropertyOverride(propertyName)
Parameters: propertyName (str) – name of the property New in version NX9.0.0.
License requirements: None.
SetTablePropertyWithoutValue¶
-
BasePropertyTable.
SetTablePropertyWithoutValue
¶ Unset a property.
Cause a property to be output to the solver as a blank so that the solver uses its default value
Signature
SetTablePropertyWithoutValue(propertyName)
Parameters: propertyName (str) – name of the property New in version NX7.5.0.
License requirements: None.