Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class ScenarioService

Last update: 16.07.2025

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

public class ScenarioService : IScenarioService

Inheritance

objectScenarioService

Implements

IScenarioService

Extension Methods

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

Constructors

ScenarioService()

public ScenarioService()

Methods

Clear()

public void Clear()

Compose(IEnumerable)

public void Compose(IEnumerable<assembly> assemblies)

Parameters

assemblies IEnumerableAssembly&gt;

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