STK Vector Geometry ToolSend comments on this topic.
AnonymousDuplicate Method (IAgCrdn)
See Also
Windows





Windows & Linux

Description

Creates an anonymous copy of the instance of a VGT component. The new component is not registered and will not be persisted nor restored when a scenario is saved or loaded.

Syntax

[Visual Basic .NET]
Public Function AnonymousDuplicate() As IAgCrdn
[C#]
public IAgCrdn AnonymousDuplicate();
[Managed C++]
public: IAgCrdn ^ AnonymousDuplicate();
[Unmanaged C++]
public: HRESULT AnonymousDuplicate(
    IAgCrdn ** ppRetVal
);
[Java]
public IAgCrdn anonymousDuplicate();
[Python - STK API ]
def AnonymousDuplicate(self) -> "IAgCrdn":

See Also

Example

Create an anonymous duplicate.
[C#]
IAgCrdnPoint point = provider.Points.Factory.Create("OriginalPoint", "description", AgECrdnPointType.eCrdnPointTypeAtTimeInstant);
IAgCrdn anonymousDuplicate = ((IAgCrdn)point).AnonymousDuplicate();
Create an anonymous duplicate.
[Visual Basic .NET]
Dim point As IAgCrdnPoint = provider.Points.Factory.Create("OriginalPoint", "description", AgECrdnPointType.eCrdnPointTypeAtTimeInstant)
Dim anonymousDuplicate As IAgCrdn = DirectCast(point, IAgCrdn).AnonymousDuplicate()
© 2024 Analytical Graphics, Inc. All Rights Reserved.