Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class ArrayAPI

Last update: 09.03.2026

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

This class implements APIs for array.

public static class ArrayAPI

Inheritance

object ← ArrayAPI

Extension Methods

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

Methods

CreateArray(SubSystemDocument, ExpressionValueVariable, string, SymmetricType, bool)

Create .

[NotNull(new string[] { "document" })]
[GreaterThanZero(new string[] { "size" })]
public static Obj CreateArray(this SubSystemDocument document, ExpressionValueVariable size, string name = "", SymmetricType symmetricType = SymmetricType.None, bool isInterface = false)

Parameters

document SubSystemDocument

The document to create the array.

size ExpressionValueVariable

The number of array size.

name string

The name of array.

symmetricType SymmetricType

The symmetric type of the new

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.

ArgumentOutOfRangeException

Will be thrown if 'size' values less than 0.

Connect with Ansys