GSTPy.NetworkInterface.create_element — GSTPy documentation

# GSTPy.NetworkInterface.create_element

`NetworkInterface.``create_element`((NetworkInterface)self, (str)label, (Owner)owner, (Level)level[, (str)comment='']) → Element :

  Create a new MoMa element.

  Parameters:

  - label (str) – The element label.
  - owner (Owner) – The element owner.
  - level (Level) – The element level.
  - comment (str) – The element comment.

  Returns: | The new MoMa element.
  Return type: | Element