I'm not new to programming, but I am new to C#. I'd like to write my code in C# simply because I've found the most sample code out there for it. Although, C# seems to be a bit a different way of thinking than VB.
Anyway, my question is how can I create a list of all the rooms in an activeDocument? I'm looking for some sample code that does this process:
find all rooms in activeDocument
for each room in roomArray
floor finish = get_parameter("ROOM_FINISH_FLOOR");
messageBox(FloorFinish);
next;
The sample code does too much and so I'm having trouble stepping through it to learn exactly WHAT it's doing. I'm hoping someone here can write what I'm saying above so I know HOW the API is working, then, hopefully I'll get a better understanding of the LIST commands and properties and stuff of C#.
Can you help? THANKS!


Reply With Quote