Skip to main content
Version: 2026R2

PropertySet

class 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

NameDescription
PropertySet.independent_namesList of the independent variable names
PropertySet.is_constantTrue if the Engineering Constants of this material are constant
PropertySet.property_namesPropety name list

Methods

NameDescription
PropertySet.get([variables])Get raw PropertySet data
PropertySet.query([variables, environment_point])Query PropertySet data
PropertySet.set([props])Set constant and variable material data