Getting the source code

Hi,
I was searching for the source code of rs.BoundingBox function. I wanted to modify the code for specific use, can someone help me getting it

Thanks in advance

Debug the function and “step into”[f11], there you can take a look. Alternativly, geometry.py in \AppData\Roaming\Mcneel\Rhinoceros\6.0\Plug-ins\IronPython\settings\lib\rhinoscript has the function.

1 Like

Or

import inspect
source = inspect.getsource(rs.BoundingBox)
print(source)
2 Likes

Thanks a lot :slightly_smiling_face:

Thanks a lot :slightly_smiling_face: