Skip to main content
Version: 2026R1

create_property_set

Material.create_property_set(property_name, **kwargs)

Function to create a specific property set.

  • Parameters:
    • property_name: A string defining the PropertySet to be created.

Keyword arguments can be passed to define the constant properties of the newly created PropertySet. If the property already exists, then it will be overwritten with the new data.

  • Example:
    >>> m = db.active_model
    >>> mat = m.material_data.materials['Corecell_A450']
    >>> mat.create_property_set('density', rho=2150.0)