STK ObjectsSend comments on this topic.
CopyObject Method (IAgStkObjectCollection)
See Also
ObjectToClone
NewObjectName
Windows





Windows & Linux

Description

Copy and paste the specified object.

Syntax

[Visual Basic .NET]
Public Function CopyObject( _
    ByVal ObjectToClone As IAgStkObject, _
    ByVal NewObjectName As String _
) As IAgStkObject
[C#]
public IAgStkObject CopyObject(
    IAgStkObject ObjectToClone,
    string NewObjectName
);
[Managed C++]
public: IAgStkObject^ CopyObject(
    IAgStkObject ^ ObjectToClone,
    String __gc ^ NewObjectName
);
[Unmanaged C++]
public: HRESULT CopyObject(
    IAgStkObject * ObjectToClone,
    BSTR NewObjectName,
    IAgStkObject ** ppRetVal
);
[Java]
public IAgStkObject copyObject(
    IAgStkObject ObjectToClone,
    String NewObjectName
);
[Python - STK API ]
def CopyObject(self, ObjectToClone:"IAgStkObject", NewObjectName:str) -> "IAgStkObject":

Parameters

ObjectToClone
NewObjectName

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.