Harness |
The HarnessWriter type exposes the following members.
| Name | Description | |
|---|---|---|
| Create | Creates a new standard .inp file writer for the provided document. | |
| CreateSParameter | Creates a new s-parameter .inp file writer for the provided document. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Write | Exports the .inp file to an arbitrary directory. | |
| Write(CancellationToken) | Exports the .inp file to an arbitrary directory. | |
| Write(String) | Exports the .inp file to the provided directory. | |
| Write(Document, Simulation) | Exports a standard .inp file for the provided document. | |
| Write(String, CancellationToken) | Exports the .inp file to the provided directory. | |
| WriteSParameter | Exports a s-parameter .inp file for the provided document. |
| Name | Description | |
|---|---|---|
| WarningThrown | Occurs when a warning is thrown while processing a simulation document for export. |
from ema3d.Api.V25.Core.Execution import E3DWriter as E3DWriter from ema3d.Api.V25.Core.Execution import HarnessWriter as HarnessWriter # Write out a configuration file doc = Window.ActiveWindow.Document writer = HarnessWriter.CreateSParameter(doc, E3DWriter.GetSim()) # Create MHARNESS S-Parameter files writer.Write() # Write to a new sim directory