Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Help to create a room.

  1. #1
    Member
    Join Date
    2007-04
    Posts
    6
    Login to Give a bone
    0

    Unhappy Help to create a room.

    How to create a room by means of Revit API?
    It is necessary to create and in it to place tables about walls.
    On tables there should be computers.
    PLEASE
    Attached Images Attached Images
    Last edited by Golfstream3912; 2007-04-13 at 03:21 PM.

  2. #2
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    San Francisco, CA
    Posts
    448
    Login to Give a bone
    0

    Default Re: Help to create a room.

    Hi, Welcome to AUGI!

    There's an SDK directory on your installation CD that includes samples which do (most of) what you want. Look for Common\Revit SDK and unzip the file that's there. The Rooms sample will create rooms, and the RevitCommands sample shows how to insert families.

    Hope that helps,

  3. #3
    Member
    Join Date
    2007-04
    Posts
    6
    Login to Give a bone
    0

    Unhappy Re: Help to create a room.

    Quote Originally Posted by Danny Polkinhorn
    Hi, Welcome to AUGI!

    There's an SDK directory on your installation CD that includes samples which do (most of) what you want. Look for Common\Revit SDK and unzip the file that's there. The Rooms sample will create rooms, and the RevitCommands sample shows how to insert families.

    Hope that helps,
    In SDK anything suitable has not found. Has seen all examples SDK 9.0 concrete examples is not present. Therefore also I ask the help.
    I the beginner which try to study REVITAPI therefore I ask a concrete example of creation of a room. English I know not so well. If that that not clearly ask.

  4. #4
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    San Francisco, CA
    Posts
    448
    Login to Give a bone
    0

    Default Re: Help to create a room.

    You can download the SDKs from here. The 9.1 SDK contains the Rooms sample so you'll need at least 9.1 to run it.

  5. #5
    Member
    Join Date
    2007-04
    Posts
    6
    Login to Give a bone
    0

    Default Re: Help to create a room.

    Quote Originally Posted by Danny Polkinhorn
    You can download the SDKs from here. The 9.1 SDK contains the Rooms sample so you'll need at least 9.1 to run it.
    I looked SDK 9.1 but that that is necessary to me has not found. Can lay out an example of creation of a room.

  6. #6
    AUGI Addict truevis's Avatar
    Join Date
    2004-07
    Location
    Massachusetts, USA
    Posts
    1,191
    Login to Give a bone
    0

    Default Re: Help to create a room.

    The API readme says:
    Autodesk Revit API application: Rooms
    1. Display the information of all the rooms.
    2. Create room tags and add them to the rooms which are lack of tags.
    3. Reorder the number of all rooms by ascending order from ground floor to high floor, from left to right
    4. Calculate the rooms area for each department and export the result to an Excel document.


    What folks are seeking is a way to create a room and its extra parameters through the API. Possible yet?

  7. #7
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    San Francisco, CA
    Posts
    448
    Login to Give a bone
    0

    Default Re: Help to create a room.

    Ah, right you are. Sorry I must have been thinking of another sample I saw. So, if there were walls already, this is what you would do.

    Determine the level of the walls which will become the room's level.
    Find an internal point within the walls.
    Create a new UV point object for the internal point.
    Pass the level and point to the NewRoom method:
    Dim MyRoom As Room = commandData.Application.ActiveDocument.Create.NewRoom(level, point)

  8. #8
    Member
    Join Date
    2007-04
    Posts
    6
    Login to Give a bone
    0

    Unhappy Re: Help to create a room.

    I would like completely the program of construction of a room. What to continue further studying RevitAPI.On mine nobody knows as to construct a room or time is not present to write an example. It is a pity. My searches while are unsuccessful.

  9. #9
    I could stop if I wanted to Danny Polkinhorn's Avatar
    Join Date
    2003-12
    Location
    San Francisco, CA
    Posts
    448
    Login to Give a bone
    0

    Default Re: Help to create a room.

    Sorry, I will be happy to help you with questions, but you'll only learn by writing it yourself. Plus, I don't have the time to write it for you.

    Also, please post in your own language as well as the english translation. Someone else may be able to translate your intentions better.

  10. #10
    Member Nelson V's Avatar
    Join Date
    2002-04
    Location
    Honolulu, Hawaii
    Posts
    31
    Login to Give a bone
    0

    Thumbs up Re: Help to create a room.

    DP, This would be a good topic to go over on our next Hawaii Revit Users Group meeting.

Page 1 of 2 12 LastLast

Similar Threads

  1. create new room tag
    By MikeJarosz in forum Revit Architecture - General
    Replies: 13
    Last Post: 2011-07-22, 04:31 PM
  2. Create Room Tag Room Number
    By imiller.203205 in forum Revit Architecture - General
    Replies: 2
    Last Post: 2010-08-04, 06:35 PM
  3. Cant' create new room
    By tonyisenhoff in forum Revit Architecture - General
    Replies: 1
    Last Post: 2009-05-21, 07:20 PM
  4. HOW CREATE A DEFINED ROOM LIST ?
    By fdelapparent in forum ACA General
    Replies: 1
    Last Post: 2008-11-24, 08:20 PM
  5. Create a Room With Revit API
    By lsimpson.145042 in forum Dot Net API
    Replies: 0
    Last Post: 2007-08-15, 04:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •