-
Create a macro library to contain the VB modules that you previously downloaded
from the Dassault Systèmes Knowledge
Base.
-
From the Tools section of the action bar, click to show more options, and click
Macros
.
-
Click Macro libraries.
-
From the Library type options, select
PLM VBA projects.
-
Click Create new library.
-
Enter MidsectionChange as the
Title.
-
Click OK.
-
Close both the Macro libraries and
Macros dialog boxes.
-
From the Tools section of the action bar, expand Macros
, and
select Visual Basic Editor
.
Microsoft® Visual Basic opens in a new window. The left-hand
panel displays the VB library that you created.
-
Add the VB modules that you previously downloaded to your VB library.
-
From the left-hand Project panel, right-click
the MidsectionChange library, and click
Import file.

-
Locate Module1.bas, and click
Open.
-
Similarly, import Module2.bas into the
project.
-
In the toolbar, click Save
to save the VB library.
-
Close Microsoft Visual Basic.
The VB library that you created now contains two VB modules, one module
for each type of simulation in the simulation process. Each module contains a
script that alters the geometry of the water bottle before you run the
simulation process.
-
From the Compass, open Optimization Process Composer.
The app creates a simulation process.
|