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