Files
IfcOpenShell/src/ifcopenshell-python/ifcopenshell/util
Andrej730 832ad6d318 Prioritize existing data types for templates props for safety
Noticed working on #5596 and #5708 a few issue when pset template is changing the prop types.

E.g. prop had string data type and now template suggests that it should be a float.
Previously, it might error trying to cast a string to a float. Now it will show a float until user will set it to null, then next time it will be loaded from the template data type.

Another example - prop was a string and now it's a boolean. Previously, it would be cast to boolean implicitly. E.g. "test" -> bool("test") -> True. And if user wouldn't be paying attention then enabling pset editing and saving it would make them lose "test" value.

Now - https://imgchest.com/p/na7ke99wb78
Before - https://imgchest.com/p/5xy23rr3z4l
2024-11-07 16:21:12 +05:00
..
2024-09-06 18:11:25 +05:00
2024-09-24 19:30:00 +05:00
2024-09-02 17:24:58 +05:00
2024-11-06 17:50:47 +05:00
2024-09-16 18:54:12 +05:00
2024-08-08 18:12:45 +05:00
2024-09-12 18:40:20 +05:00
2024-09-06 11:13:09 +05:00
2024-09-09 17:28:24 +05:00
2024-04-10 18:45:36 +05:00
2024-09-03 18:53:25 +05:00
2024-10-31 18:40:13 +05:00