mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
da9be7cff0
Resolves issue #6099: PythonOCC >=7.8.0 changed WriteToString() method signature, causing TypeError in ifcopenshell.geom.serialise(). This fix uses signature inspection to detect the method signature: - For PythonOCC < 7.8.0: Use WriteToString() (no parameters) - For PythonOCC >= 7.8.0: Fall back to Write() method - Graceful handling of signature inspection failures 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>