Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 601 Bytes

GeneratedClasses.rst

File metadata and controls

20 lines (14 loc) · 601 Bytes

Project Tree Classes

ResInsight provides access to a number of other objects in the Project Tree. These all inherit the PdmObjectBaseLabel class.

You can look for objects of a specific type by using the descendants method of rips.project :

import rips
# Connect to ResInsight instance
resinsight = rips.Instance.find()
# Example code
print("ResInsight version: " + resinsight.version_string())
# Get a list of all Eclipsev view in the project
views = resinsight.project.descendants(rips.EclipseView)

rips