__title__ = "EF Template"
__doc__ = """Version = 1.0
Date = 20.04.2022
_____________________________________________________________________
Description:
This is a template file for pyRevit Scripts.
_____________________________________________________________________
How-to:
-> Click on the button
-> Change Settings(optional)
-> Make a change
_____________________________________________________________________
Last update:
- [24.04.2022] - 1.0 RELEASE
_____________________________________________________________________
To-Do:
-
_____________________________________________________________________
Author: Erik Frits"""
__author__ = "Erik Frits"
__helpurl__ = "https://www.youtube.com/watch?v=YhL_iOKH-1M"
__min_revit_ver__ = 2019
__max_revit_ver = 2022
import os, sys, math, datetime, time
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB import Transaction, FilteredElementCollector
from pyrevit import revit, forms
from Snippets._selection import get_selected_elements
from Snippets._convert import convert_internal_to_m
import clr
clr.AddReference("System")
from System.Collections.Generic import List
doc = __revit__.ActiveUIDocument.Document
uidoc = __revit__.ActiveUIDocument
app = __revit__.Application
PATH_SCRIPT = os.path.dirname(__file__)
if __name__ == '__main__':
t = Transaction(doc,__title__)
t.Start()
t.Commit()
print('-' * 50)
print('Hold ALT + Click on the button to open its source folder.')
print('Adjust this tmeplate to your needs and duplicate to new buttons.')
print('Template has been developed by Erik Frits.')