Closed ks-cph closed 1 month ago
Revit converter
I have a linked model in Revit 2024. When sending, all elements get converted, but the floors fail here in line 187: https://github.com/specklesystems/speckle-sharp/blob/429dcfd6a9bedf1a86f9a44a2c5058ded993f52d/Objects/Converters/ConverterRevit/ConverterRevitShared/PartialClasses/ConvertFloor.cs#L175-L180
It returns null as Doc is not the linked Document where the Floor and Sketch are.
Doc
Document
Floor
Sketch
Link a model with floors, and Send them (I used by selection). All elements will appear but not the floors.
Change from Doc to revitFloor.Document.GetElements.
revitFloor.Document.GetElements
CNX-594 RevitConnector: Floors from linked Revit model not converted
Fixed by https://github.com/specklesystems/speckle-sharp/pull/3635
Prerequisites
What package are you referring to?
Revit converter
Describe the bug
I have a linked model in Revit 2024. When sending, all elements get converted, but the floors fail here in line 187: https://github.com/specklesystems/speckle-sharp/blob/429dcfd6a9bedf1a86f9a44a2c5058ded993f52d/Objects/Converters/ConverterRevit/ConverterRevitShared/PartialClasses/ConvertFloor.cs#L175-L180
It returns null as
Doc
is not the linkedDocument
where theFloor
andSketch
are.To Reproduce
Link a model with floors, and Send them (I used by selection). All elements will appear but not the floors.
Proposed Solution (if any)
Change from
Doc
torevitFloor.Document.GetElements
.