Class MagneticInterface
Last update: 16.07.2025Namespace: VM.Managed.DAFUL
Assembly: VMAppCore.dll
public class MagneticInterface
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
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
CreateProject(string, string)
public bool CreateProject(string projectFilePath, string geometryFilePath)
Parameters
projectFilePath string
geometryFilePath string
Returns
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
GetMessages(ref string[])
public bool GetMessages(ref string[] arMessage)
Parameters
arMessage string[]
Returns
InitGeometry(string)
public bool InitGeometry(string geometryFilePath)
Parameters
geometryFilePath string
Returns
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
InitMagneticObjects(Group[])
public bool InitMagneticObjects(MagneticInterface.Group[] groups)
Parameters
groups MagneticInterface.Group[]
Returns
OpenProject(string, string)
public bool OpenProject(string projectFilePath, string designName)
Parameters
projectFilePath string
designName string
Returns
QuitApplication()
public bool QuitApplication()
Returns
ReleaseApplication()
public bool ReleaseApplication()
Returns
SaveProject()
public bool SaveProject()