-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPowerTools-PlusProject.py
More file actions
27 lines (19 loc) · 759 Bytes
/
PowerTools-PlusProject.py
File metadata and controls
27 lines (19 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2022-2026 IMA LLC
# Assuming you have not changed the general structure of the template no modification is needed in this file.
from . import commands
from .lib import fusionAddInUtils as futil
def run(context):
try:
# This will run the start function in each of your commands as defined in commands/__init__.py
commands.start()
except:
futil.handle_error('run')
def stop(context):
try:
# Remove all of the event handlers your app has created
futil.clear_handlers()
# This will run the start function in each of your commands as defined in commands/__init__.py
commands.stop()
except:
futil.handle_error('stop')