bdeGetModelRoot

Returns the root of the model, which is a hwscpDiagram.

Syntax

model = bdeGetModelRoot(model)

Inputs

model
Model used to get root from.
Type: diagram

Outputs

model
Root of given model.
Type: diagram

Examples

Get root of model:
diagram = bdeGetCurrentDiagram()
	  model = bdeGetModelRoot(diagram)
model = hwscpDiagram