Skip to contents

A representation of a building block

Super classes

rSharp::NetObject -> ospsuite::DotNetWrapper -> ospsuite::ObjectBase -> BuildingBlock

Active bindings

type

Type of the building block (Spatial structure, molecules, reactions, etc)

id

ID of the building block

name

Name of the building block. Read-only.

Methods

Inherited methods


Method new()

Initialize a new instance of the class

Usage

BuildingBlock$new(netObject, type)

Arguments

netObject

Reference to NetObject .NET object representing a building block.

type

Type of the building block. Must be one of the BuildingBlockTypes.

Returns

A new BuildingBlock object.


Method print()

Print the object to the console

Usage

BuildingBlock$print(printClassProperties = FALSE, ...)

Arguments

printClassProperties

Logical, whether to print class properties (default: FALSE). If TRUE, calls first the print method of the parent class. Useful for debugging.

...

Rest arguments.