PropertySet
Last update: 16.07.2026class compolyx.PropertySet(gil_wrapper, parent_=None, name_='')
Python PropertySet class
This class wraps GIL-functionality and adds Python-UI utilities to all material PropertySets (Engineering Constants, Stress Limits, etc.).
Examples
>>> model = db.active_model
>>> Eglas = model.material_data.materials['E-Glas']
>>> Eglas_strain_limits = Eglas['strain_limits']
>>> print Eglas_strain_limits.property_names
[‘eXt’, ‘eXc’, ‘eYt’, ‘eYc’, ‘eZt’, ‘eZc’, ‘eSxy’, ‘eSxz’, ‘eSyz’, ‘effective_strain’]
>>> Eglas.update()
>>> Eglas_Xt = Eglas_strain_limits.query('eXt', {'UserVar1' : 0.3, 'Temperature' : 65.7})
Attributes
| Name | Description |
|---|---|
PropertySet.independent_names |
List of the independent variable names. |
PropertySet.is_constant |
True if the Engineering Constants of this material are constant. |
PropertySet.property_names |
Property name list. |
Methods
| Name | Description |
|---|---|
PropertySet.get([variables]) |
Get raw PropertySet data. |
PropertySet.query([variables, environment_point]) |
Query PropertySet data. |
PropertySet.set([props]) |
Set constant and variable material data. |