Skip to content

Conversation

@mjkkirschner
Copy link
Member

@mjkkirschner mjkkirschner commented Nov 20, 2023

Purpose

This work is mostly done by @saintentropy - and uses the new JSON serialization based APIs for trace. This means strings are the new API type and serialization/deserialization to whatever format should be handled by the integrators as in this PR.

I have not been able to run these tests locally as RTF is out of date 😢 - but I did get this to at least build.

@Mikhinja let's please merge this ASAP and get a test run on so we can iterate on the failures we know will be here, I will help with that once I have a list of failures.

Also note that DynamoCore version is updated here to include the new APIs we need so that will also need to be updated on the Revit side.

Declarations

Check these if you believe they are true

  • The code base is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • Snapshot of UI changes, if any.

Reviewers

@Mikhinja

FYIs

@saintentropy

this.materialId = materialId.Value;
}

public DirectShapeState(SerializationInfo info, StreamingContext context) :
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this cause a breakage without obsolete message? Not that we need to keep this, but perhaps document somewhere for package developers?

@Mikhinja Mikhinja merged commit a1b74dc into DynamoDS:upgrade_to_net7 Nov 21, 2023
CustomBuildingConfigurators-Balaji added a commit to DynamoDS/DynamoPrimerNew that referenced this pull request Nov 17, 2025
…zation based on the changes in the following PRs:

1. DynamoDS/Dynamo#14530
2. DynamoDS/DynamoRevit#3010

Changes made:
Modified the code snippets
Removed the warning message about not to rely on the serialized format of the data
Modified the trace object serialization content.
Added "Compatibility" section and the warning message displayed for legacy bindings.
QilongTang pushed a commit to DynamoDS/DynamoPrimerNew that referenced this pull request Jan 8, 2026
…4530 / #3010 (#56)

* Modified "Element Binding and Trace" section to to JSON based serialization based on the changes in the following PRs:
1. DynamoDS/Dynamo#14530
2. DynamoDS/DynamoRevit#3010

Changes made:
Modified the code snippets
Removed the warning message about not to rely on the serialized format of the data
Modified the trace object serialization content.
Added "Compatibility" section and the warning message displayed for legacy bindings.

* Reverted the content changes for "TraceExampleItem"

* Changes based on review from @mjkkirschner

* Updated the typo for JSON

* Corrected the spell error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants