コード例 #1
0
def setUpModule():
    logger.title('SETTING UP COLLECTOR TESTS...')
    logger.title('REVIT {}'.format(revit.version))
    uidoc.Application.OpenAndActivateDocument(
        os.path.join(panel_dir, 'collector.rvt'))
    test_utils.delete_all_walls()
    test_utils.make_wall()
コード例 #2
0
 def setUpClass(cls):
     logger.title('TESTING TRANSACTIONS...')
     test_utils.delete_all_walls()
     wall = test_utils.make_wall()
     cls.wall = wall
コード例 #3
0
def setUpModule():
    logger.title('SETTING UP UTILS TESTS...')
    test_utils.delete_all_walls()
    test_utils.make_wall()
コード例 #4
0
def setUpModule():
    logger.title('SETTING UP ELEMENTS TESTS...')
    revit.uidoc.Application.OpenAndActivateDocument(
        os.path.join(panel_dir, 'collector.rvt'))
    test_utils.delete_all_walls()
    test_utils.make_wall()
コード例 #5
0
 def setUp(self):
     test_utils.delete_all_walls()
     test_utils.make_wall()
     wall = rpw.db.Collector(of_class='Wall',
                             is_not_type=True).get_first(wrapped=False)
     self.wall = rpw.db.wall.Wall(wall)
コード例 #6
0
 def setUpClass(cls):
     logger.title('TESTING TRANSACTIONS...')
     test_utils.delete_all_walls()
     wall = test_utils.make_wall()
     cls.wall = wall
コード例 #7
0
def setUpModule():
    logger.title('SETTING UP ELEMENTS TESTS...')
    revit.uidoc.Application.OpenAndActivateDocument(os.path.join(panel_dir, 'collector.rvt'))
    test_utils.delete_all_walls()
    test_utils.make_wall()