Skip to main content

ACP in-app scripting API 2026 R1

create_property_set

Last update: 16.07.2026

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)

Connect with Ansys