poIPost AddModel

Loads the given model file, overlaying any existing models.

Syntax

poIPost_handle AddModelfilename reader_name

Application

HyperView Tcl Modify

Description

This command loads the given model file, overlaying any existing models.
Note: See RemoveAllModels() before loading if overlaying is not desired.

Inputs

filename
The model file name.
reader_name (Optional)
The model reader name. Use GetModelReaderList to retrieve a list of all the available model reader names.

Errors

Returns the model ID, or Null_ID (0) if AddModel failed.
Note: The post model read TCL commands will not be executed using this command, if the current active window is not a HyperView window.