-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4933bf6
commit 8ee7312
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# flake8: noqa | ||
|
||
from scriptcontext import sticky as st | ||
from aixd_grasshopper.gh_ui import reset_session | ||
from aixd_grasshopper.gh_ui_helper import session_id, clear_sticky | ||
|
||
if reset: | ||
reset_session(session_id()) | ||
clear_sticky(ghenv, st) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Reset", | ||
"nickname": "Reset", | ||
"category": "AIXD", | ||
"subcategory": "0 Main", | ||
"description": "Resets the current project running in this Grasshopper file.", | ||
"exposure": 4, | ||
"ghpython": { | ||
"isAdvancedMode": false, | ||
"iconDisplay": 0, | ||
"inputParameters": [ | ||
{ | ||
"name": "reset", | ||
"description": "Set to True to reset.", | ||
"typeHintID": "bool", | ||
"scriptParamAccess": 0 | ||
} | ||
], | ||
|
||
"outputParameters": [ | ||
] | ||
} | ||
} |