Results 1 to 3 of 3

Thread: Sort by key

  1.    #1
    Member
    Join Date
    May 31, 2018
    Location
    Quebec, Canada
    Posts
    141
    Current Local Time
    11:10 PM

    Not allowed! Not allowed!

    Sort by key

    Hi guys,

    I always have this error message, what does it mean and how to resolve it?

    Thanks for your help!


    Click image for larger version. 

Name:	SORTBYKEY.png 
Views:	12 
Size:	234.4 KB 
ID:	39058Click image for larger version. 

Name:	GROUP BY KEY 2.PNG 
Views:	11 
Size:	98.9 KB 
ID:	39059

  2.    #2
    Member kraftwerk's Avatar
    Join Date
    November 1, 2012
    Location
    St. Louis, MO
    Posts
    86
    Current Local Time
    06:10 PM

    Not allowed! Not allowed!
    Well I was going to post; "graph.ToEnglish()", but I think I may be able to see what's happening there.

    It looks like you are taking the list of Unique Items and piping that over to the Elements nodes, in which case it is returning an error that it wants to have an input of "Revit.Elements.Element" and you are giving it "var" or variable. Give it some elements and that should fix it. Or you can always post your whole graph as an image or the graph itself and the community can markup what is going wrong.

    string cheers = "cheers";
    cheers.ToFrench();

  3.    #3
    Member
    Join Date
    May 31, 2018
    Location
    Quebec, Canada
    Posts
    141
    Current Local Time
    11:10 PM

    Not allowed! Not allowed!
    Quote Originally Posted by kraftwerk View Post
    Well I was going to post; "graph.ToEnglish()", but I think I may be able to see what's happening there.

    It looks like you are taking the list of Unique Items and piping that over to the Elements nodes, in which case it is returning an error that it wants to have an input of "Revit.Elements.Element" and you are giving it "var" or variable. Give it some elements and that should fix it. Or you can always post your whole graph as an image or the graph itself and the community can markup what is going wrong.

    string cheers = "cheers";
    cheers.ToFrench();
    Thanks for your reply brother,


    Click image for larger version. 

Name:	ELEMENTS.PNG 
Views:	9 
Size:	104.6 KB 
ID:	39063


    here is the graph I added a math.round after my unique keys to have rounded units
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ELEMENTS.PNG 
Views:	14 
Size:	108.4 KB 
ID:	39060   Click image for larger version. 

Name:	ELEMENTS.PNG 
Views:	13 
Size:	176.8 KB 
ID:	39061   Click image for larger version. 

Name:	ELEMENTS.PNG 
Views:	16 
Size:	143.6 KB 
ID:	39062  
    Last edited by Midaz; June 29th, 2020 at 05:32 PM.

Similar Threads

  1. Replies: 4
    Last Post: February 17th, 2020, 01:58 PM
  2. Now you see me, now you sort of do.
    By biff in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: October 7th, 2019, 09:54 PM
  3. Sort Schedule by Count
    By Joshua Kohl in forum Architecture and General Revit Questions
    Replies: 3
    Last Post: June 30th, 2015, 06:13 PM
  4. Sheets won't sort in order
    By mmarshall in forum Architecture and General Revit Questions
    Replies: 12
    Last Post: April 25th, 2014, 10:56 PM
  5. Filter/Sort per level.
    By clark.kent21 in forum MEP - General
    Replies: 2
    Last Post: November 15th, 2011, 04:15 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
  •