See the top rated post in this thread. Click here

Page 4 of 9 FirstFirst 12345678 ... LastLast
Results 31 to 40 of 88

Thread: New Utility to get elements on a certain level

  1. #31
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    Archdoc, I noticed someone posted instructions in the other thread, did that fix it? Basically you need to make sure the EC lines have the right number at the end (i.e. if its external command number 4, you should have ECName4, ECClassName4, etc) and make sure the ECAssembly path points to the dll file wherever you put it. Everything else should be exactly as in the ini file I posted. If that still doesn't work please post your ini as that is usually the problem when it wont run at all.

    xiqx, glad you like it, and the latest one actually only works for 2009, I don't think it will work for 2008. I will look into the railings, although I probably won't have time until after the 1st of the year, thanks for the tip.

  2. #32
    I could stop if I wanted to gordolake's Avatar
    Join Date
    2004-05
    Location
    Australia
    Posts
    205
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    Great work Steve, very useful utility. Any update on the metric version? Or prehaps one that just uses the project units, I haven't looked into API programming but it looks like there would be many applications. I must keep an eye on this forum.

    steve

  3. #33
    100 Club
    Join Date
    2004-12
    Location
    South Coast NSW
    Posts
    188
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    Steve metric version is back 1 page post # 22

    Mark

  4. #34
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    yeah, latest version takes project units, see previous posts

  5. #35
    Active Member
    Join Date
    2002-11
    Posts
    59
    Login to Give a bone
    0

    Unhappy Re: New Utility to get elements on a certain level

    hi,

    can you explain with more details how I can install those files and where add the information in the ini file. I am totally lost.

    thanks for your help

  6. #36
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    copy the .dll file into wherever you want to keep external commands (I use "C:\Program Files\Revit Architecture 2009\Addons"). Then you will need to modify the .ini file for your Revit install which can be found at "C:\Program Files\Revit Architecture 2009\Program\Revit.ini" if you installed in the normal location.

    Double click it and it will open in notepad. Scroll down to find the section that starts with "[ExternalCommands]". The next line should say "ECCount=" and some number, add 1 to that number.

    The next lines will be the definitions of your external commands, which will follow this format:

    ECName#=
    ECClassName#=
    ECAssembly#=
    ECDescription#=

    where the # represents whichever command it is. Also, ECDescription is optional, so some may not have that.

    Go to the last definition that follows this format. Copy the 4 lines from the .ini file I posted earlier that follow this format to the clipboard. Paste these lines after the last command definition.

    Change the numbers on what you just pasted to the number after the last definition (i.e. if you had 3 commands defined already, you change the pasted ones to ECName4, ECClassName4, etc.). Lastly, change the path under ECAssembly to wherever you copied the .dll file initially.

    Then the next time you start Revit you should be good to go...

  7. #37
    Active Member
    Join Date
    2002-11
    Posts
    59
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    I followed your instructions and I am still have some problems.

    I attached my revit.ini file for your review.
    Attached Images Attached Images
    Attached Files Attached Files

  8. #38
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    Almost... . the ECCount line should only show up once. That is what tells Revit how many total commands are installed. So you have ECCount=7 at the top, and ECCount=8 above the new command lines. Revit will read the top line and only look for 7 external commands and then skip to the next section. What you needed to do instead is change the first ECCount to ECCount=8, and not copy the ECCount out of the ini I posted.

    See revised version, this should work.
    Attached Files Attached Files

  9. #39
    Active Member
    Join Date
    2002-11
    Posts
    59
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    Thanks, is working right now. but is a problem. When I select one of the elements of list and press select and show elements or select elements, all the elements in that level are highlighted.

  10. #40
    AUGI Addict sfaust's Avatar
    Join Date
    2004-01
    Location
    Littleton, CO (Denver Metro)
    Posts
    1,535
    Login to Give a bone
    0

    Default Re: New Utility to get elements on a certain level

    that's actually what it's supposed to do. Now looking at it I suppose I shouldn't allow you to select elements from the list because that does imply that it will select just those elements. But for right now it just selects everything on that level. That's a good potential for a future improvement, though, I'll take it into consideration when I get a chance, thanks for the feedback.

    Glad you got it working.

Page 4 of 9 FirstFirst 12345678 ... LastLast

Similar Threads

  1. 2015: Revit elements not assigned to a level
    By jnutt in forum Revit Architecture - General
    Replies: 2
    Last Post: 2015-03-21, 10:07 PM
  2. 2014: Select all elements on a specific Level
    By jagostinho in forum Revit Architecture - General
    Replies: 2
    Last Post: 2015-01-29, 03:50 PM
  3. Rehosting elements on a Reference Level
    By smcmillin in forum Revit MEP - General
    Replies: 3
    Last Post: 2010-01-20, 10:30 PM
  4. Elements on wrong level
    By dzatto in forum Project Navigator
    Replies: 8
    Last Post: 2008-04-24, 08:29 PM
  5. Copying elements changes associated level
    By matthew g. in forum Revit Structure - General
    Replies: 1
    Last Post: 2008-01-07, 09:04 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
  •