Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class ScenarioService

Last update: 09.03.2026

Namespace: VM.Models.Project
Assembly: VM.Models.Project.dll

public class ScenarioService : IScenarioService

Inheritance

object ← ScenarioService

Implements

IScenarioService

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

ScenarioService()

public ScenarioService()

Methods

Clear()

public void Clear()

Compose(IEnumerable<Assembly>)

public void Compose(IEnumerable<Assembly> assemblies)

Parameters

assemblies IEnumerable<Assembly>

ContainsName(string)

public bool ContainsName(string typeName)

Parameters

typeName string

Returns

bool

Dispose()

public void Dispose()

TryGetInstance(string, IProjectDocument, string, out IScenario)

public bool TryGetInstance(string typeName, IProjectDocument parent, string scenarioName, out IScenario scenario)

Parameters

typeName string

parent IProjectDocument

scenarioName string

scenario IScenario

Returns

bool

TryGetType(string, out Type)

public bool TryGetType(string typeName, out Type scenarioType)

Parameters

typeName string

scenarioType Type

Returns

bool

Connect with Ansys