Hello All,
I'm wondering why when I reference a room object in my Revit project and query the Room.Name property the Room name and room number are returned in the same string. For example
In my project I have a room whose Name value = 'OFFICE' and whose Number value = '101'
Autodesk.Revit.Elements.Room rm
rm.Name
returns:
OFFICE 101
Each time I Get() the .Name value I have to remove the Room Number. The Set() function, however, works as expected.
One of the API examples (\Revit 2009 SDK\Samples\RoomSchedule\) seems to have run afoul of this anomoly because when you look at the included sample XLS file the room number is appended several times. See the 'Room Name' column in the file 'RoomSchedule.xls' to see what I mean.
It's easy to write a function to parse the room name, but still the current return value seems like odd behavior to me.
Thanks,
Trevor