Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class StringAPI

Last update: 09.03.2026

Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll

This class implements APIs for string.

public static class StringAPI

Inheritance

object ← StringAPI

Extension Methods

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

Methods

CreateString(SubSystemDocument, string, bool, string, bool)

Create .

[NotNull(new string[] { "document" })]
public static Obj CreateString(this SubSystemDocument document, string name = "", bool folderPath = false, string stringVal = "", bool isInterface = false)

Parameters

document SubSystemDocument

The document to create the string.

name string

The name of string.

folderPath bool

The flag of folder path.

stringVal string

The value of string.

isInterface bool

The flag of interface.

Returns

Obj

The new object that is created by this API.

Exceptions

ArgumentNullException

Will be thrown if 'document' is null.

Connect with Ansys