Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class EntityType

Last update: 16.07.2025

Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll

public class EntityType

Inheritance

object ← EntityType

Extension Methods

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

Constructors

EntityType(string, string, MainTypes, SubTypes, string, string)

[JsonConstructor]
public EntityType(string typeName, string displayName, MainTypes mainType, SubTypes subType, string mainTypeAbbreviation, string subTypeAbbreviation)

Parameters

typeName string

displayName string

mainType MainTypes

subType SubTypes

mainTypeAbbreviation string

subTypeAbbreviation string

Properties

DisplayName

public string DisplayName { get; }

Property Value

string

MainType

[JsonConverter(typeof(StringEnumConverter))]
public MainTypes MainType { get; }

Property Value

MainTypes

MainTypeAbbreviation

public string MainTypeAbbreviation { get; }

Property Value

string

SubType

[JsonConverter(typeof(StringEnumConverter))]
public SubTypes SubType { get; }

Property Value

SubTypes

SubTypeAbbreviation

public string SubTypeAbbreviation { get; }

Property Value

string

TypeName

public string TypeName { get; }

Property Value

string

Methods

TryGetEntityType(string, out EntityType)

public static bool TryGetEntityType(string typeName, out EntityType entityType)

Parameters

typeName string

entityType EntityType

Returns

bool

Connect with Ansys