user16918900
user16918900

Reputation:

Place Room Automatically using Revit API

I want to use Place Room Automatically using revit api but currently not able to see any example for it

Upvotes: 0

Views: 236

Answers (1)

Matt
Matt

Reputation: 1096

Look for the Document.NewRoom() method. (This is the Document Creation object, not the regular Document object). You have options for:

  • NewRoom(Phase) - create an unplaced room in a particular phase.
  • NewRoom(Level, UV) - create a room on a particular level at an X,Y point
  • NewRoom(Room, PlanCircuit) - create a new room or place an unplaced room into a "PlanCircuit", which is an identified space that can contain a room within the geometry.

Rooms exist within a single phase, make sure you're aware of what phase it is created in.

Upvotes: 1

Related Questions