GSTPy.NetworkInterface.create_srs — GSTPy documentation

# GSTPy.NetworkInterface.create_srs

`NetworkInterface.``create_srs`((NetworkInterface)self, (SRS)new_srs, (str)label[, (str)code_type=''[, (str)code_value='']]) → GSTSRSRef :

  Create a new SRS in the database.

  Parameters

    - new_srs (SRS) – The SRS.

    - label (str) – The label.

    - code_type (str) – The code type.

    - code_value (str) – The code value.

  Returns

    The SRS item description.

  Return type

    SRSItemDesc