Skip to content

Commit

Permalink
Merge pull request #1955 from eirannejad/develop
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
jmcouffin committed Oct 20, 2023
2 parents e728c6f + 7c5bed3 commit 6730025
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pyrevitlib/pyrevit/forms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2772,10 +2772,12 @@ def alert(msg, title=None, sub_msg=None, expanded=None, footer='',
(bool): True if okay, yes, or retry, otherwise False
Examples:
from pyrevit import forms
forms.alert('Are you sure?',
sub_msg='<a href=\"https://discourse.pyrevitlabs.io/ \">Click here if you are not sure and want to go to the pyRevit Forum</a>',
ok=False, yes=True, no=True, exitscript=True)
```python
from pyrevit import forms
forms.alert('Are you sure?',
sub_msg='<a href=\"https://discourse.pyrevitlabs.io/ \">Click here if you are not sure and want to go to the pyRevit Forum</a>',
ok=False, yes=True, no=True, exitscript=True)
```
"""
# BUILD DIALOG
cmd_name = EXEC_PARAMS.command_name
Expand Down

0 comments on commit 6730025

Please sign in to comment.