AGI STK VGT 11Send comments on this topic.
CreateCalcScalarFromCustomScript Method (IAgCrdnCalcScalarFactory)
See Also 
Name
Component's name. The name must not have spaces.
Description
Component's optional description.
Filepath
A path to a script file.
Windows






Windows & Linux

Description

Create a calc scalar calculation that uses scripted algorithm in MATLAB (.m or .dll), Perl or VBScript to define its value and rate.

Syntax

[Visual Basic .NET]
Public Function CreateCalcScalarFromCustomScript( _
   ByVal Name As String, _
   ByVal Description As String, _
   ByVal Filepath As String _
) As IAgCrdnCalcScalar
[C#]
public IAgCrdnCalcScalar CreateCalcScalarFromCustomScript(
   string Name,
   string Description,
   string Filepath
);
[Managed C++]
public: IAgCrdnCalcScalar^ CreateCalcScalarFromCustomScript(
   String __gc ^ Name,
   String __gc ^ Description,
   String __gc ^ Filepath
);
[Java]
public IAgCrdnCalcScalar createCalcScalarFromCustomScript(
   String Name,
   String Description,
   String Filepath
);
[Unmanaged C++]
public: HRESULT CreateCalcScalarFromCustomScript(
   BSTR Name,
   BSTR Description,
   BSTR Filepath,
   IAgCrdnCalcScalar ** ReturnValue
);

Parameters

Name
Component's name. The name must not have spaces.
Description
Component's optional description.
Filepath
A path to a script file.

See Also

© 2019 Analytical Graphics, Inc. All Rights Reserved.