Add filter to skip the modifying when the zone of space is null (#3525)
Co-authored-by: Jinxuan He <jinxuan.he@rhdhv.com> Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com> Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
This commit is contained in:
Родитель
44a1a37dee
Коммит
4f7829cb6e
|
@ -146,7 +146,7 @@ public partial class ConverterRevit
|
|||
{
|
||||
revitZone = ConvertZoneToRevit(speckleSpace.zone, out _);
|
||||
}
|
||||
else if (revitZone != null && revitZone.Phase.Name != targetPhase.Name)
|
||||
else if (revitZone != null && revitZone.Phase.Name != targetPhase.Name && speckleSpace.zone != null)
|
||||
{
|
||||
Doc.Delete(revitZone.Id);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче