OPS

HomeDocsSupport

OPS

Back to docs

Get Base Unit

Retrieve the base unit of your model

This document explains how to retrieve the base unit of your model using OpenStaad python.

Description

Returns the base unit for the currently open .STD file.

Function type

This function retrieves a value from the open staad file

Example

To use this function see the following example:

from openstaad import Root

# instantiate the root module
root = Root()

# Execute the analyze function from root module.
units = root.GetBaseUnit()

print(units)
What is OPS?GitHubSupport

© 2024 OpenStaad

Built with Reflex