Python script + minor changes

This commit is contained in:
Alan Rynne
2021-07-01 16:23:35 +02:00
parent e8bcebdda1
commit ee9f45c23c
3 changed files with 77 additions and 2 deletions
+9
View File
@@ -26,6 +26,15 @@ namespace CSharpStarter
commitObj["myProp"] = "myPropValue";
commitObj["myOtherProp"] = new List<string> { "A", "list", "of", "values" };
var boxes = new List<Point>();
for (int i = 0; i < 10; i++)
{
for (int j = 0; j < 10; j++)
{
boxes.Add(new Point(i, j, 0));
}
}
commitObj["boxes"] = boxes;
// Send the object to Speckle, get back the commit id
var commitId = Helpers.Send("2d9b814ed6", commitObj, "Upload from my console app", null, 0, defaultAccount, false).Result;