Skip to main content
Namespace: VM.Managed.DAFUL.Operation.Util
Assembly: VMOpCore.dll
The utility class for the sub-entity creation.

Inheritance

object ← CreateSubEntity

Extension Methods

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

Constructors

CreateSubEntity()

Methods

CreateArray(Document3D, int, bool)

Create the array.

Parameters

document Document3D The document. size int The number of array size. isInterface bool The flag of interface.

Returns

Array The new array.

CreateArray(Document3D, int, bool, string)

Create the array.

Parameters

activeDocument Document3D The active document. nSize int The number of array size. bInterface bool The flag of interface. strName string The array name.

Returns

Array The new array.

CreateDifferential1Equation(Document3D, Function, double, double, FunctionEquType, string)

Create the variable equation.

Parameters

activeDocument Document3D The active document. function Function The function. initialDisplacement double The initial value. initialVelocity double The initial velocity. differentialFunctionType EquationFunctionDiff.FunctionEquType The differential function type. name string The variable equation name.

Returns

Differential1 The new variable equation.

CreateDifferential1Equation(Document3D, UserSubroutine, double, double, FunctionEquType, string)

Create the variable equation.

Parameters

activeDocument Document3D The active document. userSubroutine UserSubroutine The function. initialDisplacement double The initial value. initialVelocity double The initial velocity. differentialFunctionType EquationFunctionDiff.FunctionEquType The differential function type. name string The variable equation name.

Returns

Differential1 The new variable equation.

CreateDifferential2Equation(Document3D, Function, double, double, FunctionEquType, string)

Create the variable equation.

Parameters

activeDocument Document3D The active document. function Function The function. initialDisplacement double The initial value. initialVelocity double The initial velocity. differentialFunctionType EquationFunctionDiff.FunctionEquType The differential function type. name string The variable equation name.

Returns

Differential2 The new variable equation.

CreateDifferential2Equation(Document3D, UserSubroutine, double, double, FunctionEquType, string)

Create the variable equation.

Parameters

activeDocument Document3D The active document. userSubroutine UserSubroutine The function. initialDisplacement double The initial value. initialVelocity double The initial velocity. differentialFunctionType EquationFunctionDiff.FunctionEquType The differential function type. name string The variable equation name.

Returns

Differential2 The new variable equation.

CreateFunction(Document3D, string, IArgument[], string, bool)

Create the function.

Parameters

document Document3D expression string arguments IArgument[] name string getNewEntityName bool Flag for creating a new entity if there is already an entity with the same name

Returns

Function

CreateFunction(Document3D, string, string)

Create the function.

Parameters

document Document3D expression string name string

Returns

Function

CreateFunctionSimple(Document, string, bool, string, bool)

Create the function.

Parameters

document Document The active document. strExpression string The expression of function. bInterface bool The flag of interface. strName string The function name. getNewEntityName bool Flag for creating a new entity if there is already an entity with the same name

Returns

Function The new function.

CreateFunctionSimple(Document3D, string, bool, string, string)

Create the function.

Parameters

activeDocument Document3D The active document. strExpression string The expression of function. bInterface bool The flag of interface. strName string The function name. strMatchName string Name of the STR match.

Returns

Function The new function.

CreateFunctionWithArguments(Document, string, IEnumerable<IArgument>, bool, string, bool)

Create the function.

Parameters

document Document The active document. strExpression string The expression of function. lstArgument IEnumerable<IArgument> The list of argument. bInterface bool The flag of interface. strName string The function name. getNewEntityName bool Flag for creating a new entity if there is already an entity with the same name

Returns

Function The new function.

CreateFunctionWithArguments(Document, string, IEnumerable<(string, IArgument)>, bool, string, bool)

Create the function with argument for python.

Parameters

document Document The active document. strExpression string The expression of function. lstArgument IEnumerable<(string, IArgument)> The list of argument. bInterface bool The flag of interface. strName string The function name. getNewEntityName bool Flag for creating a new entity if there is already an entity with the same name

Returns

Function The new function.

CreateGroup(Document3D, string)

Create the Group.

Parameters

docSub Document3D The active document strName string The group name

Returns

Group

CreateScenario(Document, Sensor, Sign, Action, double, ObjectBase, double, string, ObjectBase, Motion, string)

Create scenario

Parameters

document Document The document sensor Scenario.Sensor The sensor sign Scenario.Sign The sign action Scenario.Action The action dActionValue double The action value function ObjectBase The function dValue double The value strICFPath string The icf path objEnableTarget ObjectBase The enable target targetOfMotion Scenario.Motion The motion strPrefixName string The prefix name

Returns

Scenario

CreateSpline(Document3D, IEnumerable<DataPoint>, string)

Parameters

document Document3D The active document. dataPoints IEnumerable<DataPoint> The spline data name string The spline name.

Returns

Spline The new spline.

CreateSpline(Document3D, SplineValue, string)

Parameters

document Document3D The active document. splineValue SplineValue The spline value name string The spline name.

Returns

Spline The new spline.

CreateSplineFromFile(Document3D, string, string)

Parameters

activeDocument Document3D The active document. strDataFilePath string The path of spline data file. strName string The spline name.

Returns

Spline The new spline.

CreateSplineFromValue(Document3D, List<string[]>, string, bool)

Parameters

activeDocument Document3D The active document. points List<string[]> The data of spline value. strName string The spline name. getNewEntityName bool Flag for creating a new entity if there is already an entity with the same name

Returns

Spline The new spline.

CreateStringValue(Document3D, string, bool)

Create the stringValue.

Parameters

document Document3D The document. stringValue string The string value. isInterface bool The flag of interface.

Returns

StringValue The new string value.

CreateStringValue(Document3D, string, bool, string)

Create the stringValue.

Parameters

activeDocument Document3D The active document. stringValue string The number of array size. bInterface bool The flag of interface. strName string The array name.

Returns

StringValue The new array.

CreateUserSubroutine(Document3D, string, string, int, string, bool, string)

Create the user-subroutine.

Parameters

document Document3D The active document. dllName string The DLL file name. functionName string The function name. resultValue int The number of result value. expression string The expression of user-subroutine. interface bool The flag of interface. name string The user-subroutine name.

Returns

UserSubroutine The new user-subroutine.

CreateUserSubroutineWithArguments(Document, string, string, int, string, IEnumerable<IArgument>, bool, string, bool)

Create the user-subroutine.

Parameters

document Document The active document. dllName string The DLL file name. functionName string The function name. resultValue int The number of result value. expression string The expression of user-subroutine. arguments IEnumerable<IArgument> The list of argument. interface bool The flag of interface. name string The user-subroutine name. addToDocument bool Flag for add created element to document.

Returns

UserSubroutine The new user-subroutine.

CreateVariableEquation(Document3D, Function, double, string)

Create the variable equation.

Parameters

activeDocument Document3D The active document. function Function The function. dInitialValue double The intial value. strName string The variable equation name.

Returns

VariableEq The new variable equation.

CreateVariableEquation(Document3D, UserSubroutine, double, string)

Create the variable equation.

Parameters

document Document3D The active document. userSubroutine UserSubroutine The UserSubroutine. initialValue double The intial value. name string The variable equation name.

Returns

VariableEq The new variable equation.