This functionality is only available for certain module packages.

IMechatronicInstantiationContext

All methods for the instantiation of classes allow for the use of a IMechatronicInstantiationContext object. This context object stores the values and results of checks in order to accelerate the instantiation of several objects. The use of this object offers a speed advantage for the creation of many instances within a script compared to the methods without a context.

The context object is always created for an instantiation target, and can then be used for the instantiation of objects for such a target.