Difference between revisions of "ISKernel:navigation (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
== Methods ==
 
== Methods ==
 
+
*'''RemoveWorld['''name''']''': Removes the world <name> from the known universe.
 +
*'''Export['''filename''']''': Exports a given world or universe into <filename>
 
== Returns ==
 
== Returns ==
 
''NULL''
 
''NULL''
Line 12: Line 13:
 
*echo ${Navigation.World[earth]}
 
*echo ${Navigation.World[earth]}
 
:This command will retrieve the navigation world "earth"
 
:This command will retrieve the navigation world "earth"
 +
===Remove the world Mars===
 +
*Navigation:RemoveWorld[mars]
 +
:Removes the world 'mars' from the known universe
 +
===Export a world to a file===
 +
*Navigation.World[mars]:Export[mars.xml]
 +
===Export the universe to a file===
 +
*Navigation:Export[Universe.xml]
 +
 
== See Also ==
 
== See Also ==
 
*[[ISSession:Navigation_System|Navigation_System]]
 
*[[ISSession:Navigation_System|Navigation_System]]

Revision as of 23:46, 19 September 2005

Description

This data type gives access to navigation worlds.

Members

  • navworld World[name]: Retrieves the navigation world with this name

Methods

  • RemoveWorld[name]: Removes the world <name> from the known universe.
  • Export[filename]: Exports a given world or universe into <filename>

Returns

NULL

Examples

Retrieve the navigation world

  • echo ${Navigation.World[earth]}
This command will retrieve the navigation world "earth"

Remove the world Mars

  • Navigation:RemoveWorld[mars]
Removes the world 'mars' from the known universe

Export a world to a file

  • Navigation.World[mars]:Export[mars.xml]

Export the universe to a file

  • Navigation:Export[Universe.xml]

See Also