OK I am stumped I recently upgraded from Revit 2023 to Revit 2026 and love it. my issue is that my custom toolbars do not work. I have upgraded the scripts so they play just fine from Dynamo, but for some reason it will not run (none of them) using pyrevit for my custom toolbar. It spins for a few seconds then nothing happens.
and as i said if i open the dynamo file in dynamo and hit the run it works just fine.
also now they also do not run in 2023 even though I created a new folder link so the dynamo files will not be upgraded.
Indeed. For our custom toolbar we use a single button that opens a menu with a list of the dynamo scripts in a folder, then when running the selected dynamo script the manager script first opens it and checks it is set to automatic run, if not then the manager creates a copy with automatic turned on. The code to turn automatic on looks like this:
with open(script_path, ârâ) as f:
data = json.load(f)
# Change to Automatic
if "View" not in data: data["View"] = {}
if "Dynamo" not in data["View"]: data["View"]["Dynamo"] = {}
data["View"]["Dynamo"]["RunType"] = "Automatic"
with open(temp_path, 'w') as f:
json.dump(data, f)
That way we donât break everyoneâs tools when we are working on scripts.
hey nice to meet you, can you explain how you do?, because i have the same case when im upgrade to revit 2026 and pyrevit 6, i have custom bars, with all the features insed with the pushbutton folder.. but when i click it it nothing happen
Please remember that most of it is built and maintained by volunteers who are doing this in their spare time, often just because they enjoy it or want to give something back to the community. Not everyone working on it is getting paid, so things like bugs, quirks, or slower updates are kind of part of the deal.
Itâs also a pretty complex tool sitting on top of an already complex API, so stuff breaking or behaving oddly isnât always easy to fix quickly. If anything, the fact that it exists and is as powerful as it is comes down to a lot of unpaid effort.
If youâre up for it, contribute and solve the bugs on github.
The current WIP is the first 6+ version Iâd myself consider stable enough to be used with the new launcher turned on.