I have a strange thing here: we have multiple file import plug-ins and one of them is giving problems. I traced it to a difference in
OnBeginOpenDocument events that are raised. The problematic plug-in first gets an
OnBeginOpenDocument for a document with a certain runtime serial number. This document is also used in the import routines and I put all the geometry in that document, layers and all. After the import is completed, an
OnNewDocument is raised where the serial number is increased by one compared to the document I got for the import.
Other file import plug-ins do NOT raise an
OnNewDocument event and there the importing is successful.
@dale Any idea why this might happen? I have no clue where to start.
PS. all file import plug-ins work correctly in Rhino 5.