SOC_RM
Return information needed to set up a search of the SOC
Syntax
SOC_RM <ScenarioPath> {Options}
Related Commands
Description
The SOC_RM command returns information that allows a user to set up the search criteria and searches the SOC.
The following table describes the {Options}.
{Options} | Description |
---|---|
GetObjectTypes | Return a list of available object types for searching. |
GetSearchFields | Return a list of search fields for the selected object type. |
GetSearchResults | Return a list of objects found based on the search criteria entered with the SOC command. |
GetSearchCriteria | Return a list of the defined search criteria. |
Example
Get the available object type values:
SOC_RM * GetObjectTypes
ReturnMessage
Cities
Facilities
Spacecraft
Get the search field names for the object type:
SOC_RM * GetSearchFields
ReturnMessage
This is just a sampling of the data returned by this command.Name or ID;Text
Owner;Choices;AB,ABS,AC,ALG...US,USBZ,VENZ,VTNM
Periapsis Altitude;Numeric Range;Double;DistanceUnit;km;0,999999
Get the search results:
SOC_RM * GetSearchResults
ReturnMessage
ISS;sscNumber,25544;officialName,ISS;OperationalStatus,Active
ZARYA;sscNumber,25544;officialName,ISS;OperationalStatus,Active
Get the search results:
SOC_RM * GetSearchCriteria
ReturnMessage
Field = Name or ID; Value = 25544
Field = Owner; Values = US,UK
Field = Inclination; Min = 60; Max = 120
Group Membership
This command belongs to the following group(s):
Version
11.2