Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Your error is likely caused by the octree ending without an EOF indicator. When rtrace loads the octree it gets to the end of the file and thinks the octree was truncated because it doesn't see an EOF indicator. I think your problem stems from how you're ending the the oconv process. Normally when oconv reaches the end of the input it closes the stream creating an EOF indicator. I'm guessing that your oconv process is waiting for another string on the standard input when the process is terminated, so no EOF is written.

I know little about EOF and know nothing about C#, so can't offer much help of how to fix this, but I think you either need to send an EOF to oconv to end the process or you need to add an EOF to the end of the octree file separately.