GXPAT class

class geosoft.gxapi.GXPAT
A PAT object is created from a Geosoft-format pattern file.
It contains all the individual patterns listed in the file.

Notes           You may create your own fill patterns should be added to the "user.pat"
le in the <geosoft>useretc directory.

you wish to add your own fill patterns, create a file named user.pat in
e <geosoft>/User/ directory and add your own fill patterns in the number
nge 20000 to 29999.
static create() → GXPAT:
Creates a pattern object with current default patterns.
Returns:PAT object
Return type:geosoft.gxapi.GXPAT

New in version 5.0.0.

get_lst((str)arg1, (GXLST)arg2) → None:
Copies all pattern names into a LST object.
Parameters:
Returns:

Nothing

Return type:

None

New in version 5.0.0.

Note:

Returns a list of the available patterns.
There will always be at least two items,
"None" and "Solid Fill"
is_null() → bool

Check if the instance of geosoft.gxapi.GXPAT is null (undefined)

Returns:True if this is a null instance of geosoft.gxapi.GXPAT, False otherwise.
Return type:bool`
static null() → GXPAT

A null (undefined) instance of geosoft.gxapi.GXPAT

Returns:A null geosoft.gxapi.GXPAT
Return type:geosoft.gxapi.GXPAT