AGI STK VGT 11 Send comments on this topic.
AnonymousDuplicate Method (IAgCrdn)
See Also  Example





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();

[Java]
public IAgCrdn anonymousDuplicate();

[Unmanaged C++]
public: HRESULT AnonymousDuplicate(
IAgCrdn ** ReturnValue
);

Example

Create an anonymous duplicate.
[C#] Copy Code
IAgCrdnPoint point = provider.Points.Factory.Create("OriginalPoint""description", AgECrdnPointType.eCrdnPointTypeAtTimeInstant); 
IAgCrdn anonymousDuplicate = ((IAgCrdn)point).AnonymousDuplicate(); 
 

Create an anonymous duplicate.
[Visual Basic .NET] Copy Code
Dim point As IAgCrdnPoint = provider.Points.Factory.Create("OriginalPoint", "description", AgECrdnPointType.eCrdnPointTypeAtTimeInstant)
Dim anonymousDuplicate As IAgCrdn = DirectCast(point, IAgCrdn).AnonymousDuplicate()

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1