Add support for reversing and customizing separators in text annotation lists

edited October 2025 in General

Text annotations can now reverse the order of list values (e.g., materials) and use custom separators instead of the default comma-space. Two new properties have been added to EPset_Annotation: Reverse_List (boolean) and List_Separator (string). When text literals contain IFC list/tuple values, they are now detected during variable replacement and can be reversed and joined with the specified separator. The list separator supports escape sequences like \n for newlines, enabling multi-line list displays. These properties are exposed in the text editing UI and properly persist to the IFC file through the new update_text_annotation_properties method, which consolidates all annotation property updates into a single efficient operation.

https://github.com/IfcOpenShell/IfcOpenShell/commit/ec2d0bfa4a89f8b611ea0107cff3c12a5c18b335

Massimofalken10vdlduarteframossahrulwalpabusterdiveOwura_qu
Sign In or Register to comment.