grail.ms3d.project Module

Version: 16.2

Table of Contents

Overview

Provides read-only access to the settings for the current MineSight®-3D project.

Functions

get_origin()
Returns the origin of the project. In MS3D the origin is equivalent to the minimum X, Y and Z coordinates.
get_unit_type()
Returns project.METRIC for metric projects and project.IMPERIAL for imperial projects.
get_xmin()
Returns the project's minimum x coordinate.
get_xmax()
Returns the project's maximum x coordinate.
get_ymin()
Returns the project's minimum y coordinate.
get_ymax()
Returns the project's maximum y coordinate.
get_zmin()
Returns the project's minimum z coordinate.
get_zmax()
Returns the project's maximum z coordinate.

Constants

IMPERIAL
Indicates an imperial project.
METRIC
Indicates a metric project.
RESOURCE_DIRECTORY
A full path to the resource directory (_msresource) for the current project.
PROJECT_DIRECTORY
A full path to the project directory for the current project.