STK ObjectsSend comments on this topic.
OnStkObjectRenamed Method (IAgStkObjectRootEvents)
See Also
Sender
The sender.
OldPath
The old path of the Object.
NewPath
The new path of the Object.
Windows





Windows & Linux

Description

Triggered when an STK object is renamed. Sender represents the object path or object itself. OldPath is the object path before the OnStkObjectRenamed Event. NewPath is the object path after the OnStkObjectRenamed Event.

Syntax

[Visual Basic .NET]
Public Sub OnStkObjectRenamed( _
    ByVal Sender As System.Object, _
    ByVal OldPath As String, _
    ByVal NewPath As String _
)
[C#]
public void OnStkObjectRenamed(
    System.Object Sender,
    string OldPath,
    string NewPath
);
[Managed C++]
public: void OnStkObjectRenamed(
    VARIANT Sender,
    String __gc ^ OldPath,
    String __gc ^ NewPath
);
[Unmanaged C++]
public: void OnStkObjectRenamed(
    VARIANT Sender,
    BSTR OldPath,
    BSTR NewPath
);
[Java]
public void onStkObjectRenamed(
    AgVariant Sender,
    String OldPath,
    String NewPath
);
[Python - STK API ]
def OnStkObjectRenamed(self, Sender:typing.Any, OldPath:str, NewPath:str) -> None:

Parameters

Sender
The sender.
OldPath
The old path of the Object.
NewPath
The new path of the Object.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.