Hi Team
I create a stream and send SketchUp file on the same stream then open Revit and open the same stream to receive the 3D file data into Revit, but it is showing an error.
Please have a look at the below mentioned error
Unable to cast object of type ‘Objects.Geometry.Line’ to type ‘Objects.Geometry.Curve’.
at Objects.Converter.Revit.ConverterRevit.ModelCurveToNative(ICurve speckleLine)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.ConvertReceivedObjects(List`1 objects, ISpeckleConverter converter, StreamState state) in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 195
Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func
2 selector)
at Objects.Converter.Revit.ConverterRevit.BlockDefinitionToNative(BlockDefinition definition)
at Objects.Converter.Revit.ConverterRevit.BlockInstanceToNative(BlockInstance instance, Document familyDoc)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.ConvertReceivedObjects(List`1 objects, ISpeckleConverter converter, StreamState state) in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 195
Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func
2 selector)
at Objects.Converter.Revit.ConverterRevit.BlockDefinitionToNative(BlockDefinition definition)
at Objects.Converter.Revit.ConverterRevit.BlockInstanceToNative(BlockInstance instance, Document familyDoc)
at System.Collections.Generic.List1.ForEach(Action
1 action)
at Objects.Converter.Revit.ConverterRevit.BlockDefinitionToNative(BlockDefinition definition)
at Objects.Converter.Revit.ConverterRevit.BlockInstanceToNative(BlockInstance instance, Document familyDoc)
at Speckle.ConnectorRevit.UI.ConnectorBindingsRevit.ConvertReceivedObjects(List`1 objects, ISpeckleConverter converter, StreamState state) in C:\Users\circleci\project\ConnectorRevit\ConnectorRevit\UI\ConnectorBindingsRevit.Receive.cs:line 195
TessellatedShapeBuilder failed to build the requested geometry.
at Autodesk.Revit.DB.TessellatedShapeBuilder.Build()
at Objects.Converter.Revit.ConverterRevit.MeshToNative(Mesh mesh, TessellatedShapeBuilderTarget target, TessellatedShapeBuilderFallback fallback)
Line is slightly off axis and may cause inaccuracies.
Please have a look at the attached test mode file.Processing: TEST MODEL.skp…