123456789_123456789_123456789_123456789_123456789_

Module: Layout

Overview

The LayOut module is the root of the LayOut Ruby API. Many of the classes in the API are implemented beneath this module.

Examples:

# Open an existing LayOut document.
doc = Layout::Document.open("C:/path/to/document.layout")

# Grab other handles to commonly used collections inside the model.
layers = doc.layers
pages = doc.pages
entities = doc.shared_entities

# Now that we have our handles, we can start pulling objects and making
# method calls that are useful.
first_entity = entities.first

number_pages = pages.length

Version:

  • LayOut 2018