Difference between revisions of "ISKernel:navigation (Data Type)"
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
Contents
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
- 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
- Navigation_System
- NavPath (Command)
- Navigation (Command)
- NavPoint (Command)
- navpath (Data Type)
- navpoint (Data Type)
- navworld (Data Type)
- Navigation (Top-Level Object)
- NavPath (Top-Level Object)
- Inner Space Session Data Types
- LavishScript Data Types