FreeCAD

Форк
0
/
ifc_objects.py 
33 строки · 1.9 Кб
1
#***************************************************************************
2
#*                                                                         *
3
#*   Copyright (c) 2022 Yorik van Havre <yorik@uncreated.net>              *
4
#*                                                                         *
5
#*   This program is free software; you can redistribute it and/or modify  *
6
#*   it under the terms of the GNU General Public License (GPL)            *
7
#*   as published by the Free Software Foundation; either version 3 of     *
8
#*   the License, or (at your option) any later version.                   *
9
#*   for detail see the LICENCE text file.                                 *
10
#*                                                                         *
11
#*   This program is distributed in the hope that it will be useful,       *
12
#*   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
13
#*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
14
#*   GNU General Public License for more details.                          *
15
#*                                                                         *
16
#*   You should have received a copy of the GNU Library General Public     *
17
#*   License along with this program; if not, write to the Free Software   *
18
#*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  *
19
#*   USA                                                                   *
20
#*                                                                         *
21
#***************************************************************************
22

23
class ifc_object:
24
    """NativeIFC class placeholder"""
25
    def __init__(self):
26
        pass
27
    def onDocumentRestored(self, obj):
28
        obj.Type = [obj.IfcType]
29
        obj.Type = obj.IfcType
30
    def dumps(self):
31
        return None
32
    def loads(self, state):
33
        return None
34

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.