STK Vector Geometry ToolSend 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
);
[Unmanaged C++]
public: HRESULT CreateCalcScalarFromCustomScript(
    BSTR Name,
    BSTR Description,
    BSTR Filepath,
    IAgCrdnCalcScalar ** ppRetVal
);
[Java]
public IAgCrdnCalcScalar createCalcScalarFromCustomScript(
    String Name,
    String Description,
    String Filepath
);
[Python - STK API ]
def CreateCalcScalarFromCustomScript(self, Name:str, Description:str, Filepath:str) -> "IAgCrdnCalcScalar":

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.