diff --git a/.vscode/launch.json b/.vscode/launch.json index 52e92f3..a895cc3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,9 +13,9 @@ "justMyCode": true, "envFile": "${workspaceFolder}/.env", "args": [ - "{\"projectId\": \"843d07eb10\", \"modelId\": \"base design\", \"versionId\": \"2a32ccfee1\", \"speckleServerUrl\": \"https://latest.speckle.systems\"}", + "{\"projectId\": \"361e185dc7\", \"modelId\": \"arch\", \"versionId\": \"dfec9dca8a\", \"speckleServerUrl\": \"https://speckle.xyz\"}", // make sure to use camelCase for variable names - "{\"reportMessage\": \"Objects.Geometry.Brep\"}" + "{\"reportMessage\": \"Total area, mean area, number of rooms \"}" ], }, ] diff --git a/main.py b/main.py index 3964999..763fb54 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ def main(speckle_project_data: str, function_inputs: str, speckle_token: str = " project_data = SpeckleProjectData.model_validate_json(speckle_project_data) inputs = FunctionInputs.model_validate_json(function_inputs) - automate_function(project_data, inputs, speckle_token) + automate_function(project_data, function_inputs, speckle_token) if __name__ == "__main__":