Intervening When Instantiating Objects

When instantiating objects i.e. adding a type to a V5 feature, the user can execute tasks (create data that will be used during the process). To do so, the user must define a VB script whose name has the following format:

TypeName_Instanciate.CATScript

When instantiating the objects, the script is executed.

In Expert mode, before executing the VB Script, the following message is displayed:

If the user selects Yes, the VB script is executed. If the user selects No, it will not be executed.

Note that the VB definition is optional.