Sheet Number parameter returning a float?

Hi there,

I’ve recently upgraded to using Revit 2024 from Revit 2021 so I may have missed some major API changes. But last time I checked, the sheetnumber parameter, when read, should return a string representation of the sheet number in Revit.

Opening a script that worked fine in Revit 21, it now seems that Sheet.SheetNumber (however I read it) returns a float representation of my sheet number, converted into a string…

Sheet in Revit:
image

Sheet number read in Dynamo:

Is this normal? I cant see anything that alludes to this behaviour on API docs?

Thanks in advance.

This is a known bug with Dynamo at the moment - be assured the value is still an integer / string, just showing as a float

3 Likes

How very annoying.

Thanks for sharing.

1 Like