I need to write some Plug-Ins for XSI, but I have difficulties get the selected objects in the Plug-In. In the SDK, there is only an example for a scripted Operator with ATL. How can I get access to the Application-Object and how can I use the XSI-Commands ? Perhaps someone can give me an example.