AGI STK Objects 11 Send comments on this topic.
Epoch Property (IAgScenario)
See Also  Example





Description

Scenario epoch. Uses DateFormat Dimension.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Epoch() As System.Object

[C#]
public System.Object Epoch {get; set;}

[Managed C++]
public: __property VARIANT get_Epoch();
public: __property void set_Epoch(
VARIANT
);

[Unmanaged C++]
public: HRESULT get_Epoch(
VARIANT * pRetVal
);
public: HRESULT put_Epoch(
VARIANT NewEpoch
);

[Java]
public Variant getEpoch();public void setEpoch(
Variant
);

Example

Change scenario time period
[MATLAB] Copy Code
% IAgStkObjectRoot root: STK Object Model Root 
root.CurrentScenario.SetTimePeriod('30 Jul 2014 16:00:05.000', '31 Jul 2014 16:00:00.000'); 
root.CurrentScenario.Epoch = '30 Jul 2014 16:00:05.000'; 
 
 

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1