StaticObjects

StaticObjects.GetHandleByName( objectName )

Tacview 1.8.0

Retrieve static object handle from its name. The name of the object can be defined via the xml tag in kml files.

Names are case sensitive and may not be unique. This function will return the first matching object. Beware that object handles are volatile and may not be preserved the next time your addon is being called by Tacview.

Return value:
handle of the static object or nil of no object correspond to the given name

Return value:

StaticObjects.SetVisible( staticObjectHandle , isVisible )

Tacview 1.8.0

Show or hide given object. You can use StaticObjects.GetHandleByName() to retrieve the handle of the object you would like to show/hide.