The first call in this example runs a simulation. The second call either creates a scatter chart, selects a single scatter chart, or opens a chooser dialog if there are multiple scatter charts, and then opens the Scatter Preferences dialog for the selected scatter chart.
CB.Simulation 1000 CB.ScatterPrefs