Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class MacroHelper

Last update: 16.07.2025

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

This class is to represent the macro helper.

public class MacroHelper

Inheritance

objectMacroHelper

Extension Methods

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

Constructors

MacroHelper()

public MacroHelper()

Fields

g_dicKeyToFullNameForDeleting

public static Dictionary<string string> g_dicKeyToFullNameForDeleting

Field Value

Dictionarystring, string&gt;

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

Dictionarystring, string&gt;

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

Dictionarystring, string&gt;

Connect with Ansys