GSTPy.NetworkInterface.create_moma_property_value

NetworkInterface.create_moma_property_value((NetworkInterface)self, (LinkedElement)linked_element, (MoMaPropertyDesc)moma_property, (object)value) → MoMaPropertyValue :

Create a new MoMa property value.

Creates a new MoMa property value. This value is attached to a MoMa element node (a linked element in the MoMa tree).

Parameters
  • linked_element (LinkedElement) – The element node.

  • moma_property (MoMaPropertyDesc) – The property.

  • value (bool or int or float or str) – The value.

Returns

The description of the created value.

Return type

MoMaPropertyValue