pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

Don't show again checkbox

Open clntnco opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. It would be awesome to have a "Don't show again" check box on the reload dialog box that comes up every time you reload pyRevit . Ex. I'm slightly annoyed when I am creating or modifying a script and having to continue clicking yes I want to reload Pyreivt.

Describe the solution you'd like Add a don't show check box or some other type of switch (maybe in the settings).

Thanks for your time.

clntnco avatar Jun 10 '22 01:06 clntnco

Alternatively you could make your own reload button like so, without the original message

# -*- coding=utf-8 -*-

from pyrevit import EXEC_PARAMS
from pyrevit import script
from pyrevit.loader import sessionmgr
from pyrevit.loader import sessioninfo

logger = script.get_logger()
results = script.get_results()

# re-load pyrevit session.
logger.info('Reloading....')
sessionmgr.reload_pyrevit()

results.newsession = sessioninfo.get_session_uuid()

jmcouffin avatar Jun 19 '22 09:06 jmcouffin