Creates a new, blank circuit file in Multisim.

Syntax

Function NewFile() As MultisimCircuit

Remarks

If successful, a new MultisimCircuit object is returned.

This method is a synchronous call, so it does not return until the circuit is ready for use. If a file is already open in Multisim, then it will be closed before the new one is opened. Note that any MultisimCircuit objects referring to the closed circuit will become unusable.

Since the Automation API does not allow users to place new components or wires, the resulting blank circuit is useful only for simulating SPICE netlists. Refer to the DoCommandLine section for more information.

Example


Dim Circuit As MultisimInterface.MultisimCircuit
Circuit = MSApp.NewFile()

See Also

OpenFile