Hello!
Up until now, datasmith from rhino to twin motion has worked seamlessly.
However, now i only get the following message (project name is Wood.3dm)
Command: DatasmithDirectLinkSync
Exporting to Wood Datasmith scene
Press Esc key to cancel…
An unexpected error has occurred:
System.Exception: Object reference not set to an instance of an object. —> System.NullReferenceException: Object reference not set to an instance of an object.
at DatasmithRhino.Utils.DatasmithRhinoUtilities.SerializeTexture(BinaryWriter Writer, Texture RhinoTexture)
at DatasmithRhino.Utils.DatasmithRhinoUtilities.SerializeMaterial(Material RhinoMaterial)
at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.AddMaterialIndexMapping(Int32 MaterialIndex)
at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.AddObjectMaterialReference(RhinoObject InObject, Int32 MaterialIndex)
at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.RegisterActorsToContext(IEnumerable1 ActorInfos) at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.RecursivelyParseLayerHierarchy(Layer CurrentLayer, DatasmithActorInfo ParentNode) at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.ParseRhinoHierarchy() at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.ParseDocument(Boolean bForceParse) --- End of inner exception stack trace --- at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.ParseDocument(Boolean bForceParse) at DatasmithRhino.DatasmithRhinoSceneExporter.ExportScene(FDatasmithFacadeScene DatasmithScene, DatasmithRhinoExportContext ExportContext, Func
2 OnSceneExportCompleted)
94 curves, 18 surfaces, 552 polysurfaces added to selection.
Command: DatasmithDirectLinkConnections
Command: DatasmithDirectLinkSync
Exporting to Wood Datasmith scene
Press Esc key to cancel…
An unexpected error has occurred:
System.Exception: Object reference not set to an instance of an object. —> System.NullReferenceException: Object reference not set to an instance of an object.
at DatasmithRhino.Utils.DatasmithRhinoUtilities.SerializeTexture(BinaryWriter Writer, Texture RhinoTexture)
at DatasmithRhino.Utils.DatasmithRhinoUtilities.SerializeMaterial(Material RhinoMaterial)
at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.AddMaterialIndexMapping(Int32 MaterialIndex)
at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.AddObjectMaterialReference(RhinoObject InObject, Int32 MaterialIndex)
at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.RegisterActorsToContext(IEnumerable1 ActorInfos) at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.RecursivelyParseLayerHierarchy(Layer CurrentLayer, DatasmithActorInfo ParentNode) at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.ParseRhinoHierarchy() at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.ParseDocument(Boolean bForceParse) --- End of inner exception stack trace --- at DatasmithRhino.ExportContext.DatasmithRhinoExportContext.ParseDocument(Boolean bForceParse) at DatasmithRhino.DatasmithRhinoSceneExporter.ExportScene(FDatasmithFacadeScene DatasmithScene, DatasmithRhinoExportContext ExportContext, Func
2 OnSceneExportCompleted)