Update main.py
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled

This commit is contained in:
NLSA
2025-03-03 17:11:12 +01:00
parent c6f425c9b3
commit 7e4e29c365
+3 -2
View File
@@ -27,7 +27,7 @@ class FunctionInputs(AutomateBase):
file_name: str = Field( file_name: str = Field(
title="File Name", title="File Name",
description="The name of the Excel file.", description="The name of the Excel file to export.",
) )
inlcude_areas: bool = Field( inlcude_areas: bool = Field(
@@ -45,6 +45,7 @@ class FunctionInputs(AutomateBase):
nua_list: str = Field( nua_list: str = Field(
title="NUA (Nett Usable Area)", title="NUA (Nett Usable Area)",
strict= False strict= False
) )
nia_list: str = Field( nia_list: str = Field(
@@ -135,7 +136,7 @@ def automate_function(
# List of properties # List of properties
list_prop = [ list_prop = [
"category", "category",
"level.name", "properties.Level.name",
"properties.Parameters.Instance Parameters.Identity Data.Name.value", "properties.Parameters.Instance Parameters.Identity Data.Name.value",
"properties.Parameters.Instance Parameters.Dimensions.Area.value", "properties.Parameters.Instance Parameters.Dimensions.Area.value",
] ]