STK Vector Geometry ToolSend comments on this topic.
CreateCalcScalarPluginFromDisplayName Method (IAgCrdnCalcScalarFactory)
See Also
Name
Component's name. Spaces and most punctuation ( except for "-_().") cannot be used as a part of a component name when creating new components via VGT API.
Description
Component's optional description.
DisplayName
A Display Name of a valid and registered Calc Scalar Plugin. For more information see Engine Plugin Registration.
Windows





Windows & Linux

Description

Create a scalar calculation based on a COM plugin. For information how to implement and register VGT plugins, see COM-based Engine Plugins..

Syntax

[Visual Basic .NET]
Public Function CreateCalcScalarPluginFromDisplayName( _
    ByVal Name As String, _
    ByVal Description As String, _
    ByVal DisplayName As String _
) As IAgCrdnCalcScalar
[C#]
public IAgCrdnCalcScalar CreateCalcScalarPluginFromDisplayName(
    string Name,
    string Description,
    string DisplayName
);
[Managed C++]
public: IAgCrdnCalcScalar^ CreateCalcScalarPluginFromDisplayName(
    String __gc ^ Name,
    String __gc ^ Description,
    String __gc ^ DisplayName
);
[Unmanaged C++]
public: HRESULT CreateCalcScalarPluginFromDisplayName(
    BSTR Name,
    BSTR Description,
    BSTR DisplayName,
    IAgCrdnCalcScalar ** ppRetVal
);
[Java]
public IAgCrdnCalcScalar createCalcScalarPluginFromDisplayName(
    String Name,
    String Description,
    String DisplayName
);
[Python - STK API ]
def CreateCalcScalarPluginFromDisplayName(self, Name:str, Description:str, DisplayName:str) -> "IAgCrdnCalcScalar":

Parameters

Name
Component's name. Spaces and most punctuation ( except for "-_().") cannot be used as a part of a component name when creating new components via VGT API.
Description
Component's optional description.
DisplayName
A Display Name of a valid and registered Calc Scalar Plugin. For more information see Engine Plugin Registration.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.