Hello,
I searched this in multiple places already and I can’t seem to find a response:
Is there a Context setting already in pyRevit that would allow a tool to only run on family file environment? (RFA file)?
I am currently using the doc.IsFamilyDocument option right now to stop the tool from running, but it would be great to have the button grayed out on the ribbon.
Now this is me being greedy
But doesn’t everyone else see a benefit of creating Context for “workshared” files vs. “stand alone” files?
Would love for the buttons dealing with worksets to be turned off if the file is not workshared