Pyrevit: Dyn files don't run as they do from Dynamo

Created on 29 Oct 2019  路  3Comments  路  Source: eirannejad/pyRevit

Running pyRevit v4.6.23 on Revit 2019.2.
From what I've read, there are some issues with getting dyn files with user interaction to run, but the dyn file I am testing with requires no user interaction, but still doesn't work.

I click the button for it in the pyRevit ribbon, I get the spinning blue wheel like it's working, but it doesn't do what it's supposed to. If I run the same script from Dynamo, it works fine.

The script just adds a sheet number to some note blocks. Not fancy at all compared to some of the other scripts I'd like to get working.

I have other dyn scripts using Data Shapes UI for user interaction. It'd be so sick to get those working via the pyRevit ribbon. Like dream-come-true stuff right there. :-D

Any help is appreciated!

Thanks!
Matt

DynamoBIM Under Review

Most helpful comment

Make sure your script is set to 'Automatic' run.
Also see #732

Let me know if this helps.

All 3 comments

Make sure your script is set to 'Automatic' run.
Also see #732

Let me know if this helps.

Ah, the automatic fixed it! Even the Data-Shapes UI seems to work. Excellent!

Seriously. This is so nice. We are ecstatic to be able to have custom tools that appear native within Revit.

THANK YOU

@Tyree You are most welcome and thanks for the kind words.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jkcameron picture jkcameron  路  5Comments

jkcameron picture jkcameron  路  5Comments

DuncanLithgow picture DuncanLithgow  路  3Comments

kuldeep3618x picture kuldeep3618x  路  4Comments

jmcouffin picture jmcouffin  路  5Comments