Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class MacroHelper

Last update: 09.03.2026

Namespace: VM.Managed.Operation
Assembly: VMAppCore.dll

This class is to represent the macro helper.

public class MacroHelper

Inheritance

object ← MacroHelper

Extension Methods

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

Constructors

MacroHelper()

public MacroHelper()

Fields

g_dicKeyToFullNameForDeleting

public static Dictionary<string, string> g_dicKeyToFullNameForDeleting

Field Value

Dictionary<string, string>

Methods

ChangeFullNameToKey(string, Document)

public static string ChangeFullNameToKey(string strXml, Document doc)

Parameters

strXml string

doc Document

Returns

string

ChangeFullNameToKey(string)

public static string ChangeFullNameToKey(string strXml)

Parameters

strXml string

Returns

string

ChangeKeyToFullName(string, Document)

public static string ChangeKeyToFullName(string strXml, Document doc)

Parameters

strXml string

doc Document

Returns

string

ChangeKeyToFullName(string)

public static string ChangeKeyToFullName(string strXml)

Parameters

strXml string

Returns

string

ChangeKeyToFullNameCore(XmlNode, bool, IDocument)

public static void ChangeKeyToFullNameCore(XmlNode nodeXml, bool bReverse, IDocument doc)

Parameters

nodeXml XmlNode

bReverse bool

doc IDocument

CreateEntityDictionary(ObjectBase)

public static Dictionary<string, string> CreateEntityDictionary(ObjectBase entity)

Parameters

entity ObjectBase

Returns

Dictionary<string, string>

GetFullNameFromKey(ObjectBase)

public static string GetFullNameFromKey(ObjectBase obj)

Parameters

obj ObjectBase

Returns

string

ModifyEntityDictionary(ObjectBase)

public static Dictionary<string, string> ModifyEntityDictionary(ObjectBase entity)

Parameters

entity ObjectBase

Returns

Dictionary<string, string>

Connect with Ansys