Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8524

[Rhino6] FileImportPlugIn.ReadFile results in empty document

$
0
0

@menno wrote:

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 OnNewDocument and 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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8524

Trending Articles