Scripting With Multiple Installs

You can develop and run scripts on a machine with multiple Mentor PCB releases installed. To determine which install the script calls, you include a COM version number when you create application instances in your scripts. With more complex scripts, you can query the installed releases on a machine and perform different actions based on the environment.
Note:

If you do not include COM version numbers in your scripts, the version defaults to the last software install tree.

Topic

Description

Identifying the COM Version Number of an Install

To use Mentor automation in a design environment where multiple software installs/releases exist on the same machine, you must know the COM version number for each of the installs.

COM Version Script Examples

VBScript examples show you how to manage scripts on systems that have multiple Mentor PCB software installs.

ReleaseEnvServer Object

The ReleaseEnvServer object provides access to the PCB software install environment. The COM version of this object does not change.