MMpy.Project.path

Syntax

MMpy.Project.path()

Description

Returns the full path of the currently opened project.

Returns

Type
Description
str Returns the full path of the current project.

Notes

This is a static class method.

Examples

# Use this to reference files within the project directory.
block_model_path = MMpy.Project.path() + 'Example.DAT'

Resource ID

IDPH_PROJECT_PATH