The ‘Externalize’ subroutine might be close to what you want:
https://github.com/mcneel/rhinoscript/blob/master/BlockUtilities.rvb
Might be a good starting point…
The ‘Externalize’ subroutine might be close to what you want:
https://github.com/mcneel/rhinoscript/blob/master/BlockUtilities.rvb
Might be a good starting point…