Click or drag to resize

ConfigurationWriter Class

A configuration control writer that wraps the execution of the Export to Configuration Control tool.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.Core.ExecutionConfigurationWriter

Namespace: ema3d.Api.V25.Core.Execution
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class ConfigurationWriter

The ConfigurationWriter type exposes the following members.

Constructors
 NameDescription
Public methodConfigurationWriter 
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberExport(Document, String) Export a configuration control from the current document and simulation.
Public methodStatic memberExport(Simulation, Domain, String) Export a configuration control from a given simulation and domain.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
from ema3d.Api.V25.Core.Execution import ConfigurationWriter as ConfigurationWriter
# Write out a configuration file
doc = Window.ActiveWindow.Document
filepath = doc.Path.lower().replace(".dsco","_configuration.xlsx")
ConfigurationWriter.Export(doc, filepath)
See Also