Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class Configuration

Last update: 16.07.2025

Namespace: VM.Managed.Simulation
Assembly: VMDFBase.dll

This class is to represent the simulation configuration.

public class Configuration : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IEnableManager

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← Configuration

Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IEnableManager

Inherited Members

LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

Configuration()

Initializes a new instance of the class.

public Configuration()

Properties

AccuracyOfGMS

Gets or sets the accuracy of GMS

public int AccuracyOfGMS { get; set; }

Property Value

int

AppendedDateTime

Gets or sets a value indicating whether [append date time].

public bool AppendedDateTime { get; set; }

Property Value

bool

Attributes

Gets or sets the attributes

public AttributeCollection Attributes { get; set; }

Property Value

AttributeCollection

BodyOrientationType

Gets or sets the type of the body orientation.

public Configuration.BodyOrientation BodyOrientationType { get; set; }

Property Value

Configuration.BodyOrientation

CheckedLevelArray

Gets or sets the checked level.

public bool[] CheckedLevelArray { get; set; }

Property Value

bool[]

ConfigName

Gets or sets the name.

public string ConfigName { get; set; }

Property Value

string

CriterionVal

Gets or sets the criterion value.

public double[] CriterionVal { get; set; }

Property Value

double[]

DisableEntities

Gets the disable container.

public ObjectBase[] DisableEntities { get; }

Property Value

ObjectBase[]

EigenvalueOutputStep

Gets or sets the eigen value output step.

public int EigenvalueOutputStep { get; set; }

Property Value

int

ExportICFFilePath

Gets or sets the export ICF path.

public string ExportICFFilePath { get; set; }

Property Value

string

ExtraConfigs

Gets or sets the extra configuration.

public ConfigurationExtraCollection ExtraConfigs { get; set; }

Property Value

ConfigurationExtraCollection

FlexibleBodyLevelForSuperSolver

Gets or sets the level of flexible body for super solver.

public int FlexibleBodyLevelForSuperSolver { get; set; }

Property Value

int

GINFPath

Gets or sets the GINF file path.

public string GINFPath { get; set; }

Property Value

string

HighSpeedRotationOption

public HighSpeedRotationOption HighSpeedRotationOption { get; set; }

Property Value

HighSpeedRotationOption

ImportICFFilePath

Gets or sets the import ICF path.

public string ImportICFFilePath { get; set; }

Property Value

string

IsIncludeEigenvalue

Gets or sets a value indicating whether [include eigenvalue].

public bool IsIncludeEigenvalue { get; set; }

Property Value

bool

IsIncludeStatic

Gets or sets a value indicating whether [include static].

public bool IsIncludeStatic { get; set; }

Property Value

bool

IsIncludeThermal

Gets or sets a value indicating whether [include thermal].

public bool IsIncludeThermal { get; set; }

Property Value

bool

IsUseLocalRefinement

Gets or sets a value indicating whether [use local refinement].

public bool IsUseLocalRefinement { get; set; }

Property Value

bool

JacobianOption

Gets or sets the jacobian eval option.

public Configuration.LinearProblem JacobianOption { get; set; }

Property Value

Configuration.LinearProblem

LevelOfGeometryPrecision

Gets or sets the geometry precision level.

public int LevelOfGeometryPrecision { get; set; }

Property Value

int

MeshFreeAnalysisLevelGroup

Gets or sets analysis level group for MeshFree

[Obsolete]
public MeshFreeAnalysisLevelGroup MeshFreeAnalysisLevelGroup { get; set; }

Property Value

MeshFreeAnalysisLevelGroup

MotionStepForPositionAnaly

public uint MotionStepForPositionAnaly { get; set; }

Property Value

uint

NodalOutputEntities

Gets the nodal output container.

public ObjectBase[] NodalOutputEntities { get; }

Property Value

ObjectBase[]

NumberOfCore

Gets or sets the number of core.

public uint NumberOfCore { get; set; }

Property Value

uint

ParameterOfDynamicAnalysis

Gets or sets the dynamic analysis parameter.

public AnalysisParameterDynamic ParameterOfDynamicAnalysis { get; set; }

Property Value

AnalysisParameterDynamic

ParameterOfEigenvalueAnalysis

Gets or sets the eigenvalue analysis parameter.

public AnalysisParameterEigenvalue ParameterOfEigenvalueAnalysis { get; set; }

Property Value

AnalysisParameterEigenvalue

ParameterOfStaticAnalysis

Gets or sets the static analysis parameter.

public AnalysisParameterStatic ParameterOfStaticAnalysis { get; set; }

Property Value

AnalysisParameterStatic

ParameterOfThermalAnalysis

Gets or sets the thermal analysis parameter.

public AnalysisParameterThermal ParameterOfThermalAnalysis { get; set; }

Property Value

AnalysisParameterThermal

PlasticMaterialStrain

public PlasticMaterialStrain PlasticMaterialStrain { get; set; }

Property Value

PlasticMaterialStrain

PreventShearLocking

public bool PreventShearLocking { get; set; }

Property Value

bool

RecordOfResult

Gets or sets the result record.

public Configuration.ResultRecord RecordOfResult { get; set; }

Property Value

Configuration.ResultRecord

RecordOfStressStrainType

Gets or sets the type of the stress/strain record.

public Configuration.RecordOfStressStrain RecordOfStressStrainType { get; set; }

Property Value

Configuration.RecordOfStressStrain

ResultFilePath

Gets or sets the result path.

public string ResultFilePath { get; set; }

Property Value

string

ShowHideAdvancedOption

Gets or sets a value indicating whether [show advanced option].

public bool ShowHideAdvancedOption { get; set; }

Property Value

bool

SimulationParam

Gets or sets the simulation parameter.

public SimulationParameter SimulationParam { get; set; }

Property Value

SimulationParameter

SimulationStepForPLT

Gets or sets the simulation step of plt.

public uint SimulationStepForPLT { get; set; }

Property Value

uint

StepOfDynamicSimulation

Gets or sets the dynamic simulation step.

public uint StepOfDynamicSimulation { get; set; }

Property Value

uint

StepOfStaticSimulation

Gets or sets the static simulation step.

public uint StepOfStaticSimulation { get; set; }

Property Value

uint

StressStrainReport

public StressStrainReport StressStrainReport { get; set; }

Property Value

StressStrainReport

SubTypeOfCriterion

Gets or sets the type of the criterion sub.

public Configuration.CriterionSub SubTypeOfCriterion { get; set; }

Property Value

Configuration.CriterionSub

SynchronizeMaxStepSize

Gets or sets a value indicating whether [synchronize maximum step size].

public bool SynchronizeMaxStepSize { get; set; }

Property Value

bool

TreatAsModalForEFModalBodyResult

Gets or sets the flag that whether treat as modal for efmodal body result or not.

public bool TreatAsModalForEFModalBodyResult { get; set; }

Property Value

bool

TypeOfCriterion

Gets or sets the type of the criterion.

public Configuration.Criterion TypeOfCriterion { get; set; }

Property Value

Configuration.Criterion

TypeOfDynamicSkipAnalysis

Gets or sets the type of dynamic skip analysis.

public Configuration.SkipAnalysis TypeOfDynamicSkipAnalysis { get; set; }

Property Value

Configuration.SkipAnalysis

TypeOfEigenvalueSkipAnalysis

Gets or sets the type of eigenvalue skip analysis.

public Configuration.SkipAnalysis TypeOfEigenvalueSkipAnalysis { get; set; }

Property Value

Configuration.SkipAnalysis

TypeOfInitialSkipAnalysis

Gets or sets the type of initial skip analysis.

public Configuration.SkipAnalysis TypeOfInitialSkipAnalysis { get; set; }

Property Value

Configuration.SkipAnalysis

TypeOfJacobian

Gets or sets the type of the jacobian.

public Configuration.Jacobian TypeOfJacobian { get; set; }

Property Value

Configuration.Jacobian

TypeOfLinearSolver

Gets or sets the type of the linear solver.

public Configuration.LinearSolver TypeOfLinearSolver { get; set; }

Property Value

Configuration.LinearSolver

TypeOfMemoryOptimization

Gets or sets the type of the memory optimization.

public Configuration.MemoryOptimization TypeOfMemoryOptimization { get; set; }

Property Value

Configuration.MemoryOptimization

TypeOfMeshDataForOutput

Gets or sets the type of the mesh data for output.

public Configuration.MeshDataForOutput TypeOfMeshDataForOutput { get; set; }

Property Value

Configuration.MeshDataForOutput

TypeOfNodalCoordinate

Gets or sets the type of the nodal coordinate.

public Configuration.NodalCoordinate TypeOfNodalCoordinate { get; set; }

Property Value

Configuration.NodalCoordinate

TypeOfSimulation

Gets or sets the type of the simulation.

public Configuration.Simulation TypeOfSimulation { get; set; }

Property Value

Configuration.Simulation

TypeOfStaticSkipAnalysis

Gets or sets the type of static skip analysis.

public Configuration.SkipAnalysis TypeOfStaticSkipAnalysis { get; set; }

Property Value

Configuration.SkipAnalysis

TypeOfThermalSkipAnalysis

Gets or sets the type of thermal skip analysis.

public Configuration.SkipAnalysis TypeOfThermalSkipAnalysis { get; set; }

Property Value

Configuration.SkipAnalysis

TypeOfTreatmentOfNonContactEntity

Gets or sets the type of the Treatment of non-contact entity.

public Configuration.TreatmentOfNonContactEntity TypeOfTreatmentOfNonContactEntity { get; set; }

Property Value

Configuration.TreatmentOfNonContactEntity

UseAutoSolverProgressBar

Gets or sets a value indicating whether [auto solver progress bar].

public bool UseAutoSolverProgressBar { get; set; }

Property Value

bool

UseExportICF

Gets or sets a value indicating whether this instance is use export ICF.

public bool UseExportICF { get; set; }

Property Value

bool

UseImportICF

Gets or sets a value indicating whether this instance is use import ICF.

public bool UseImportICF { get; set; }

Property Value

bool

UseMeshFreeAllBodySettings

Gets or sets whether use all body settings for MeshFree

[Obsolete]
public bool UseMeshFreeAllBodySettings { get; set; }

Property Value

bool

UseMotionStep

Gets or sets a value indicating whether this instance is use motion step.

public bool UseMotionStep { get; set; }

Property Value

bool

UseOutOfCore

Gets or sets a value indicating whether [out of core].

public bool UseOutOfCore { get; set; }

Property Value

bool

UsePLT

Gets or sets a value indicating whether this instance is use the simulation step of plt.

public bool UsePLT { get; set; }

Property Value

bool

UseSolvingSpeedOption

Gets or sets a value indicating whether [solving speed option].

public bool UseSolvingSpeedOption { get; set; }

Property Value

bool

UserTetraFilePath

Gets or sets the user tetra path.

public string UserTetraFilePath { get; set; }

Property Value

string

Methods

AddNodalOutputEntity(ObjectBase)

Add new nodal output entity.

public void AddNodalOutputEntity(ObjectBase ob)

Parameters

ob ObjectBase

The object.

AddToolkitSetting(string, ToolKitSettingBase)

Adds the toolkit setting.

public void AddToolkitSetting(string strName, ToolKitSettingBase setting)

Parameters

strName string

Name of the STR.

setting ToolKitSettingBase

The setting.

AddToolkitSettingValue(string, ObjectBase)

Adds the toolkit setting.

public void AddToolkitSettingValue(string strKey, ObjectBase ob)

Parameters

strKey string

key of toolkit.

ob ObjectBase

The new toolkit setting.

ClearNodalOutputEntity()

Clear nodal output list.

public void ClearNodalOutputEntity()

Clone(string)

Clones the specified STR name.

public virtual Configuration Clone(string strName)

Parameters

strName string

Name of the STR.

Returns

Configuration

ContainsToolkitSetting(string)

Determines whether contains toolkit setting with the specified STR key.

public bool ContainsToolkitSetting(string strKey)

Parameters

strKey string

key of toolkit.

Returns

bool

true if contains toolkit setting with the specified STR key; otherwise, false.

ContainsToolkitSettingValue(string, ObjectBase)

Determines whether contains toolkit setting with the specified toolkit key.

public bool ContainsToolkitSettingValue(string strKey, ObjectBase ob)

Parameters

strKey string

key of toolkit.

ob ObjectBase

The toolkit setting.

Returns

bool

true if contains toolkit setting value with the specified toolkit key; otherwise, false.

DeserializeConfiguration(string)

Deserializes the configuration.

public Configuration DeserializeConfiguration(string strReader)

Parameters

strReader string

The reader.

Returns

Configuration

GetNewConfigurationList(DocumentAnalysis)

Gets the new configuration list.

public static Configuration[] GetNewConfigurationList(DocumentAnalysis doc)

Parameters

doc DocumentAnalysis

The document.

Returns

Configuration[]

configuration list.

GetToolkitSetting(string)

Gets the toolkit setting.

public ToolKitSettingBase GetToolkitSetting(string strKey)

Parameters

strKey string

key of toolkit.

Returns

ToolKitSettingBase

InitializeConfig(string)

Initializes the config.

public void InitializeConfig(string strName)

Parameters

strName string

Name of the simulation configuration.

IsEnabled(ObjectBase)

Determines whether the specified ob is enabled.

public bool IsEnabled(ObjectBase ob)

Parameters

ob ObjectBase

The object.

Returns

bool

true if the specified object is enabled; otherwise, false.

IsThermalAnalysis()

Determines whether is thermal analysis.

public bool IsThermalAnalysis()

Returns

bool

true if this instance is thermal analysis; otherwise, false.

LinkRemovedFromDocument(object, RemoveFromDocEventArgs)

Remove Anlaysis Type in the Analysis Setting to a document.

protected override void LinkRemovedFromDocument(object objNotifier, RemoveFromDocEventArgs arg)

Parameters

objNotifier object

The linked object.

arg RemoveFromDocEventArgs

The instance containing the event data.

LinkRequestDestroy(object, LinkEventArgs)

Request for destroy the linked object.

protected override void LinkRequestDestroy(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

PostDeserialize(Configuration)

Posts the deserialize.

public void PostDeserialize(Configuration config)

Parameters

config Configuration

The configuration.

RemoveToolkitSetting(string)

Removes the toolkit setting.

public void RemoveToolkitSetting(string strName)

Parameters

strName string

Name of the STR.

RemoveToolkitSettingValue(string, ObjectBase)

Removes the toolkit setting.

public void RemoveToolkitSettingValue(string strKey, ObjectBase ob)

Parameters

strKey string

key of toolkit.

ob ObjectBase

The toolkit setting to remove.

ReplaceAnalysisParameter(Configuration)

Replaces the specified configuration.

public void ReplaceAnalysisParameter(Configuration configReplace)

Parameters

configReplace Configuration

The replacing configuration .

ReplaceToolkitSettingValue(string, ObjectBase, ObjectBase)

Replaces the toolkit setting.

public void ReplaceToolkitSettingValue(string strKey, ObjectBase obOld, ObjectBase obNew)

Parameters

strKey string

key of toolkit.

obOld ObjectBase

The old toolkit setting.

obNew ObjectBase

The new toolkit setting.

SerializeConfiguration()

Serializes the configuration.

public string SerializeConfiguration()

Returns

string

SetEnable(ObjectBase, bool)

Sets the enable.

public void SetEnable(ObjectBase ob, bool bEnabled)

Parameters

ob ObjectBase

The object.

bEnabled bool

if set to true enabled.

Connect with Ansys