Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Feb 26, 2024
1 parent c79081b commit 1593bc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion APSToolkitUnit/ProbDbReaderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void Setup()
string avs = "Resources/objects_avs.json.gz";
string attrs = "Resources/objects_attrs.json.gz";
string values = "Resources/objects_vals.json.gz";
PropDbReader = new PropDbReaderRevit(ids,offsets,avs,attrs,values);
PropDbReader = new PropDbReader(ids,offsets,avs,attrs,values);
watch.Stop();
var elapsedMs = watch.ElapsedMilliseconds;
Console.WriteLine($"Time elapsed seconds: {elapsedMs / 1000}");
Expand Down
10 changes: 3 additions & 7 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ dynamic token = twoLeggedApi.Authenticate(ClientID, ClientSecret, "client_creden
Scope.BucketUpdate, Scope.BucketDelete
});
var access_token = token.access_token;
PropDbReader probReader = await Derivatives.ReadPropertyRemoteAsync(urn, access_token);
Dictionary<string,string> properties = probReader.GetProperties(3528);

Console.WriteLine("Done with ReadPropertyRemoteAsync");
PropDbReader probReader = new PropDbReader(urn, access_token);
Dictionary<string,string> properties = probReader.ExportDataToExcel("<filePath>","result.xlsx");
```

## Read Metadata By Query SQLite
Expand Down Expand Up @@ -144,9 +142,7 @@ dynamic token = twoLeggedApi.Authenticate(ClientID, ClientSecret, "client_creden
Scope.BucketUpdate, Scope.BucketDelete
});
var access_token = token.access_token;
Console.WriteLine("Start check data process export svf");
await Derivatives.SaveFileSVFAsync(dowloadFolder, urn, access_token);
Console.WriteLine("Done process save data svf");
await Derivatives.SaveFileSvfAsync("<folder>", urn, access_token);

```
## Read SVF Model Local
Expand Down

0 comments on commit 1593bc7

Please sign in to comment.