GXLPT class

class GXLPT(handle=0)[source]

GXLPT class.

This class allows access to the current default line patterns. It does not allow the definition of individual patterns. It is is used primarily with GXMAP class functions.

__init__(handle=0)[source]
classmethod create()[source]

Creates a line pattern object with current default patterns.

Returns:

GXLPT Object

Return type:

GXLPT

New in version 5.0.

License: Geosoft Open License

get_lst(lst)[source]

Copies all pattern names into a GXLST object.

Parameters:

lst (GXLST) – GXLST Handle

New in version 5.0.

License: Geosoft Open License

get_standard_lst(lst)[source]

Copies the six standard line types into a GXLST object.

Parameters:

lst (GXLST) – GXLST Handle

New in version 9.0.

License: Geosoft Open License

Note: The six standard line types are “solid”, “long dash”, “dotted”, “short dash”, “long, short dash” and “dash dot”.

is_null()[source]

Check if this is a null (undefined) instance

Returns:

True if this is a null (undefined) instance, False otherwise.

Return type:

bool

classmethod null()[source]

A null (undefined) instance of GXLPT

Returns:

A null GXLPT

Return type:

GXLPT