Application

class caris.ui.Application

An instance of the Caris Application.

get_active_cloud((Application)self) object :

Get the active cloud, i.e. the cloud that is selected in the Layers window of the application

Returns

The active cloud, or None

get_active_coverage((Application)self) object :

Get the active coverage, i.e. the coverage that is selected in the Layers window of the application

Returns

The active coverage, or None

get_active_dataset((Application)self) Dataset :

Get the active dataset, i.e. the dataset that is selected in the Layers window of the application

Returns

The active dataset, or None

get_active_raster((Application)self) object :

Get the active raster, i.e. the raster that is selected in the Layers window of the application

Returns

The active raster, or None

get_active_vrs((Application)self) object :

Get the active vrs, i.e the variable resolution surface that is selected in the Layers window of the application

Returns

The active variable resolution surface, or None

get_selected_features((Application)self) FeatureRange :

Get the features that are selected in the application

Returns

The selected features, or None

question_ok_cancel((Application)self, (str)title, (str)text) bool :

Display a message box asking the user an Ok/Cancel question

Parameters
  • title (str) – The message box’s title

  • text (str) – The message box’s text, or question

Returns

True if ok was selected

question_yes_no((Application)self, (str)title, (str)text) bool :

Display a message box asking the user a yes/no question

Parameters
  • title (str) – The message box’s title

  • text (str) – The message box’s text, or question

Returns

True if yes was selected