GXPAT class¶
-
class
GXPAT
(handle=0)¶ GXPAT class.
A
GXPAT
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. They can be added to the “user.pat” file in the <geosoft>useretc directory. User pattern numbers should be in the range between 20000 and 29999.
-
classmethod
create
()¶ Creates a pattern object with current default patterns.
Returns: GXPAT
objectReturn type: GXPAT New in version 5.0.
License: Geosoft Open License
-
get_lst
(cl, lst)¶ Copies all pattern names into a
GXLST
object.Parameters: New in version 5.0.
License: Geosoft Open License
Note: Returns a list of the available patterns. There will always be at least two items, “None” and “Solid Fill”
-
is_null
()¶ Check if this is a null (undefined) instance
Returns: True if this is a null (undefined) instance, False otherwise. Return type: bool
-
classmethod