I inherited a project where room information are written via key schedule. I wanted to delete the value of one of the parameters as we didn't want to show it to the consultant. Via RevitLookUp, I knew I won't be able to write on it but I tried anyway via Dynamo and Pyrevit. I was hoping maybe I can get to table data and write it from there via view schedule but no luck. The only way that I see that this can be edited is to edit one by one the schedule or is there a work around? Is it safe to say that I should avoid the use of key parameter moving forward since I can use the dictionary anyway if I want to edit the values? Many thanks.
edit: Apologies for the confusion I thought I'll make myself clearer if I explained first what I tried to do. So to make my question simpler, on this example:
Room Type - this is the key name
Base Finish
Wall Finish
Floor Finish
How can I change the value of these finishes without typing it one by one on schedule? This is just a sample parameters. I have a lot. I got hundreds of rooms.
Gelöst! Gehe zur Lösung
Gelöst von RDAOU. Gehe zur Lösung
If you don't want a value to shown to a consultant than just remove the field from the schedule.
If you want the value to be blank then just edit the key schedule to make that value be blank for all your options.
I read the post twice and still slightly confused what exactly is happening.
The title says, parameters not overwritten when added to key schedule. In the description you talk about rvt LookUP, dynamo and pyrevit and trying to delete parameter values…
my question to you:
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
thanks for the reply, my answers here:
it's not the schedule actually, it is showing on the tags, so the work around i did was to just create a new type of the tag without the label for that parameter.
but still, i wanted to find out if there is a way to change/overwrite a parameter value e.g. wall finishes to a 900+ rooms, without typing it one by one on schedule itself
@ska137 wrote:it's not the schedule actually, it is showing on the tags, so the work around i did was to just create a new type of the tag without the label for that parameter.
but still, i wanted to find out if there is a way to change/overwrite a parameter value e.g. wall finishes to a 900+ rooms, without typing it one by one on schedule itself
Using a key schedule is exactly how you avoid changing/overwriting a parameter value 900 times.
- if you want to replace the value of a parameter, for example Wall Finish with - altogether than simple open the Key schedule and replace the value of Room Finish with a - and it will update for 900 rooms automatically
- if you want to keep the information in the model, but not showing it on the tags then do what you did, replace the label with a - text
To answer your question earlier on not using a key schedule moving forward: No, that is a bad idea. Key schedules are great to populate information consistently and systematically, especially for big projects.
well the client doesn't want to show the consultant the info so there's that 🤷:männlich:
- if you want to replace the value of the parameter with - altogether than simple open the Key schedule and do it and it will update for 900 rooms
answer: 900 unique types on the key schedule. so if i understood you correctly the solution is to type the new value in the schedule. and if really is the only answer then i guess on big projects, I will avoid to use key schedules just so not to turn the parameters into read-only mode. it'll always be easier to manipulate the data via dynamo and few lines of code.
Thanks for your answer.
What I meant in the last question is that after you overwrite the values of the parameter/schedule field to "-" they would be gone from the projects for both you and the consultant...You would need a back up of those value you overwritten unless you are making those changes only in the transmitted model or published model (if using ACC)
What is the issue you are having in Dynamo? It runs with errors? it runs but nothing happens in the model (happens a lot in RVT 2025)? One reason you wont be able to overwrite those parameters in the room is having the parameter you are trying to overwrite as a field in the key schedule. To overwrite the parameter the dyno graph should
(edited)
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Another approach which seems to work with no issues with respect to field parameters being Read Only, is treating the data rows in a key schedule as elements (opposed to fields associated with parameters in previous reply). It overwrites the fields in Key Schedule and subsequently populates in Room Schedule and Room Tags
I was actually surprised when I saw it worked. Tested on 3 live projects and it seems to run with no issues. Try it
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Holy st man, it worked! I'm in the middle of writing a code with this logic:
thanks for this, now I need to investigate the inside of that springs node.
also I have a back up of the file, this is just a copy. thanks again!
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.