mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 10:34:31 +00:00
Display internal ID in calculator functions description
Example - https://i.imgur.com/3C3TBCu.png
This commit is contained in:
@@ -70,7 +70,7 @@ def get_calculator_function(
|
||||
CALCULATOR_FUNCTION_ENUM_ITEMS.append(None)
|
||||
description = function.description
|
||||
description += f"\n\nInternal function id: '{function_id}'."
|
||||
CALCULATOR_FUNCTION_ENUM_ITEMS.append((function_id, f"{measure}: {function.name}", function.description))
|
||||
CALCULATOR_FUNCTION_ENUM_ITEMS.append((function_id, f"{measure}: {function.name}", description))
|
||||
previous_measure = measure
|
||||
return CALCULATOR_FUNCTION_ENUM_ITEMS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user