Rhinoscript to rhino common - bounding box and select

Hi revink,

Not a specific answer to you question but rather a few links to guide you into RhinoCommon. This way you know how to see how methods like ObjectsByLayer use RhinoCommon

Also to format python code in a post use this wrapper:

```python
code here
```

Translates to:

code here

The links:

Let us know if you have more questions.
-Willem