WAPlots.AddModel

From ReliaWiki

Jump to: navigation, search


Member of: SynthesisAPI.WAPlots


Adds a cModel object to the plot.

Syntax

.AddModel(model)

Parameters

model

Required. The cModel object that the plot will be based on.

Example

VBA

 'Declare a model object. 
  Dim model As New cModel
 'Add code to either create a new model or get an existing model from a repository. 
 ... 

 'Declare a plot object. 
  Dim plot As New WAPlots
 
 'Add the model to the plot. 
  Call plot.AddModel(model)
VB.NET

 'Declare a model object. 
  Dim model As New cModel
 'Add code to either create a new model or get an existing model from a repository. 
 ... 
 
 'Declare a plot object. 
  Dim plot As New WAPlots
 
 'Add the model to the plot. 
  plot.AddModel(model)
Personal tools
ReliaWiki.org
Create a book