You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Creates a new submodel with the given name, and then returns the new submodel to the caller. Only objects which are selected in the main model are added to the new submodel. PARAMETERS: Name (String).

Syntax

Public Function Add( _
   ByVal Name As Variant _
) As SubModel

Parameters

  • Name

Example

Dim MyModel As Model
Dim NewSubModelName As String

NewSubModelName = "Sales"

MyModel.SubModels.Add(NewSubModelName)



  • No labels