A Selection Example

An example procedure named sel_obj.pro creates two views, places models within the views, and provides an interface to let you choose between selecting models or visualization objects. A mouse click in one of the views will update a label that identifies the current selections.

Example Code
This example, sel_obj.pro, is included in the examples/doc/objects subdirectory of the IDL distribution. Run the example procedure by entering sel_obj at the IDL command prompt or view the file in an IDL Editor window by entering .EDIT sel_obj.pro.