GXTRANSFORMLAYER class¶
- class GXTRANSFORMLAYER(handle=0)[source]¶
GXTRANSFORMLAYER class.
Object to interface with GMSYS 3D view objects that supports transforming layer.
- apply_constant_transform(elevation)[source]¶
Apply constant transform to the transform layer
- Parameters:
elevation (float) – change in elevation to apply
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- can_redo()[source]¶
Can perform redo on the transform layer
- Return type:
int
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- can_undo()[source]¶
Can perform undo on the transform layer
- Return type:
int
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- cancel_()[source]¶
Cancel changes done in the transform layer
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- clear_node_selection()[source]¶
Clear the section status of every node
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- end(applyChanges)[source]¶
End interactive editing for selected grid layer in gmsys.
- Parameters:
applyChanges (bool) – Apply changes to layer.
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- 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
GXTRANSFORMLAYER
- Returns:
A null
GXTRANSFORMLAYER
- Return type:
- redo()[source]¶
Redo one step of editing in the transform layer
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- save_to_new_layer_grid(sGrid)[source]¶
Save changes to a new grid
- Parameters:
sGrid (str) – output grid path
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- select_node(nodeIdx)[source]¶
Select or deselect a node by its index
- Parameters:
nodeIdx (int) – node index
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- undo()[source]¶
Undo one step of editing in the transform layer
New in version 2022.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.