STK ObjectsSend comments on this topic.
Visible Property (IAgVORefCrdn)
See Also
Windows





Windows & Linux

Description

Whether component is visible.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Visible() As Boolean
[C#]
public bool Visible {get; set;}
[Managed C++]
public: __property bool get_Visible();
public: __property void set_Visible( bool );
[Unmanaged C++]
public: HRESULT get_Visible(
    VARIANT_BOOL * pVisible
);
public: HRESULT put_Visible(
    VARIANT_BOOL Visible
);
[Java]
public bool getVisible();
public void setVisible(
    bool
);
[Python - STK API ]
@property
def Visible(self) -> bool:

@Visible.setter
def Visible(self, Visible:bool) -> None:

Remarks

The display status of vectors and other RefCrdn components can be returned via code such as the following example:



IAgSatellite sat= (IAgSatellite)AGI_APP.CurrentScenario.Children["Satellite1"];
for (int i = 0; i < sat.VO.Vector.RefCrdns.Count; i++)
{
if(sat.VO.Vector.RefCrdns[i].Visible)
{
//...
}
}

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.