From 315d3c643749004995db6a5804033638e847602b Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 1 Oct 2024 17:20:14 +0500 Subject: [PATCH] ifcopenshell.file.to_string --- src/ifcopenshell-python/ifcopenshell/file.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/file.py b/src/ifcopenshell-python/ifcopenshell/file.py index b8c6f86cf0..45869dd600 100644 --- a/src/ifcopenshell-python/ifcopenshell/file.py +++ b/src/ifcopenshell-python/ifcopenshell/file.py @@ -690,3 +690,6 @@ class file: @staticmethod def from_pointer(v) -> "file": return file_dict.get(v)() + + def to_string(self) -> str: + return self.wrapped_data.to_string()