Changing line type in a new database

TeaganLarsen1 Posts: 2 Calcite Rank Badge
edited March 2023 in Oasis montaj

I am currently writing code for a Python extension, using Python 3.7 in PyCharm and Geosoft 9.8. So far I've created 2 new output databases, and I've added new channel data by duplicating and editing it from an input database with line type "L". My issue is after creating and adding channels to these output databases, they're both assigned line type "L", and I want to change the line type from "L" to "D" for one and "L" to "S" for the other. It seems as though you can do this by using gxdb.Line.type=… and the LINE_TYPE constants, but I can't find any examples and am not sure how to get it to recognize which database I want to change (I'm fairly new to Python). Could anyone help me with this?

Thanks so much!