Skip to content

Commit

Permalink
Merge pull request #290 from specklesystems/bilal/cnx-569-element-id-…
Browse files Browse the repository at this point in the history
…not-set

added elementId
  • Loading branch information
didimitrie authored Oct 11, 2024
2 parents bd4b565 + dca2438 commit 188f23f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ public Base Convert(object target)

result.applicationId = element.UniqueId;

// Add ElementID to the converted objects
result["elementId"] = element.Id.ToString()!;

// POC DirectShapes have RevitCategory enum as the type or the category property, DS category property is already set in the converter
// trying to set the category as a string will throw
// the category should be moved to be set in each converter instead of the root to speckle converter
Expand Down

0 comments on commit 188f23f

Please sign in to comment.