This commit is contained in:
Andrej730
2025-06-17 11:46:15 +05:00
parent 404c39873d
commit 9282ccabb3
13 changed files with 77 additions and 39 deletions
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import ifcopenshell
from typing import Any, Union, Literal
# `std::vector<xxx>` usually translated to `tuple[xxx, ...]`.
@@ -775,6 +776,9 @@ class entity(declaration):
def supertype(self) -> Union[entity, None]: ...
class entity_instance:
file: ifcopenshell.file
"""Reference to IFC file to prevent it's garbage collection, if entity is still used."""
file_: Any
id_: Any
def data(self, *args): ...