Class MagneticInterface
Last update: 09.03.2026Namespace: VM.Managed.DAFUL
Assembly: VMAppCore.dll
public class MagneticInterface
Inheritance
object ← MagneticInterface
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
MagneticInterface(string, string)
Initializes a new instance of the
public MagneticInterface(string strPath, string targetMaxwellVersion)
Parameters
strPath string
The interface dll path.
targetMaxwellVersion string
The target Maxwell version. (eg. 2025.2)
MagneticInterface(string)
Initializes a new instance of the
public MagneticInterface(string strPath)
Parameters
strPath string
The interface dll path.
Methods
CloseProject()
public bool CloseProject()
Returns
bool
CreateProject(string, string)
public bool CreateProject(string projectFilePath, string geometryFilePath)
Parameters
projectFilePath string
geometryFilePath string
Returns
bool
Dispose(bool)
[HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0)
Parameters
A_0 bool
Dispose()
public override sealed void Dispose()
~MagneticInterface()
Releases unmanaged resources and performs other cleanup operations before the
protected ~MagneticInterface()
GetMaxwellDesigns(string, ref string[])
public bool GetMaxwellDesigns(string projectFilePath, ref string[] designList)
Parameters
projectFilePath string
designList string[]
Returns
bool
GetMessages(ref string[])
public bool GetMessages(ref string[] arMessage)
Parameters
arMessage string[]
Returns
bool
InitGeometry(string)
public bool InitGeometry(string geometryFilePath)
Parameters
geometryFilePath string
Returns
bool
InitMagneticObjects(Group[], Dictionary<string, Material>)
public bool InitMagneticObjects(MagneticInterface.Group[] groups, Dictionary<string, MagneticInterface.Material> materialInfo)
Parameters
groups MagneticInterface.Group[]
materialInfo Dictionary<string, MagneticInterface.Material>
Returns
bool
InitMagneticObjects(Group[])
public bool InitMagneticObjects(MagneticInterface.Group[] groups)
Parameters
groups MagneticInterface.Group[]
Returns
bool
OpenProject(string, string)
public bool OpenProject(string projectFilePath, string designName)
Parameters
projectFilePath string
designName string
Returns
bool
QuitApplication()
public bool QuitApplication()
Returns
bool
ReleaseApplication()
public bool ReleaseApplication()
Returns
bool
SaveProject()
public bool SaveProject()
Returns
bool