Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 8 of 8
Like Tree11Likes
  • 1 Post By cellophane
  • 1 Post By Mengelmn
  • 5 Post By DaveP
  • 1 Post By cellophane
  • 3 Post By johnp

Thread: Creating Views From Level (Using Excel for Naming)

  1. #1
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:56 PM

    Creating Views From Level (Using Excel for Naming)

    I'm missing something dumb here - but I can't get my graph to properly create views by level from a list names in excel. I've tried a number of variations of lacing on the Element.SetParameter nodes, as well as List.Cycle with the levels to try and map everything. There are +/-315 views and 9 levels. It generally will create one set of views, either the first set or last set, and the latter keeps throwing an error about the name already existing. Basically it is reading 9 levels & views, then trying to apply the same name over and over and I can't figure out where I broke it
    Attached Thumbnails Attached Thumbnails Creating Views From Level (Using Excel for Naming)-createviews.png  
    danbush likes this.

  2. #2
    Member
    Join Date
    May 30, 2015
    Posts
    200
    Current Local Time
    11:56 AM
    You will need to create all the views first, if you need 300 you will need to create 300 floorplan elements, then set the parameters of these 300 floorplans.


    Sent from my iPhone using Tapatalk

  3. #3
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:56 PM
    I r smrt.

    That did the trick. Thanks
    Attached Thumbnails Attached Thumbnails Creating Views From Level (Using Excel for Naming)-createviews-revised.png  

  4. #4
    Member
    Join Date
    May 30, 2015
    Posts
    200
    Current Local Time
    11:56 AM
    Be aware that depending on how you do this it is possible to create a lot of views very fast, and if run multiple times to create duplicate views (learned the hard way) Solution is to first set up a cross check if any of the views you want to create already exist in the project.
    amoursol likes this.

  5. #5
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:56 PM
    In this case I'm wiping out every plan view I have and recreating them (easier than messing with the various naming schemes) so that won't be an issue. That said - how would you do the cross check?

  6. #6
    Moderator DaveP's Avatar
    Join Date
    January 10, 2011
    Location
    St Paul, MN
    Posts
    2,949
    Current Local Time
    11:56 AM
    Here's my graph for adding a Level and a whole bunch of Views
    It's pretty heavily customized for our plan Types and all the Views we make, but the top section does the basic "Create Floor and Ceiling Plan"
    At some point, I'm going to convert all those ugly Boolean boxes to a nice neat Data Shapes form.
    I've documented all the Packages used. You'll need a few of ours.
    • OrdinalNumbers converts an integer (15) to "FIFTEENTH"
    • SetSheetTitleFromView set the View Title on Sheet
    • SheetInfoFromView figures out the string we use for the Title on Sheet according to our standards
    Attached Files Attached Files

  7. #7
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,104
    Current Local Time
    12:56 PM
    Is there a way to set the View Family Type pulling the values from Excel instead of having dozens of ViewFamilyType nodes setting the parameter value? When trying I get an error stating: The parameter's storage type is not a string

    edit: I can collect the types, just not sure how to take the excel sorting and apply the actual type element.
    Last edited by cellophane; August 1st, 2018 at 06:45 PM.
    johnp likes this.

  8. #8
    Member johnp's Avatar
    Join Date
    March 24, 2015
    Posts
    148
    Current Local Time
    10:56 AM
    Dictionaries might help
    Attached Thumbnails Attached Thumbnails Creating Views From Level (Using Excel for Naming)-2018-08-01_15-05-40.jpg  
    Last edited by johnp; August 1st, 2018 at 09:10 PM.

Similar Threads

  1. Pre-naming section views
    By wwdreamb in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: July 14th, 2016, 01:55 AM
  2. Creating rooms using an excel file
    By Jorgensen in forum Dynamo BIM
    Replies: 5
    Last Post: March 30th, 2016, 08:21 AM
  3. Creating a section to a level.
    By Andythebear in forum Architecture and General Revit Questions
    Replies: 11
    Last Post: March 18th, 2016, 09:45 AM
  4. What Revit Wants: Creating an Excel auto-save backup task
    By luke.johnson in forum Blog Feeds
    Replies: 0
    Last Post: August 20th, 2013, 06:15 AM
  5. Naming Views
    By domsib in forum MEP - General
    Replies: 5
    Last Post: March 11th, 2013, 10:29 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
  •