Skip to content

Change to a property name.

  1. In the Audience Profile Parameters object I want to change the property NumRows to Rows.
  2. Before any changes to the code I create the JSON string:

    Annotation 2020-08-20 160127

  3. And save a Grasshopper file with a panel containing that string.

    Annotation 2020-08-20 160242

  4. I make the property name change in the code:

    Annotation 2020-08-20 155214

  5. Create the Versioning_XX.json:

    Annotation 2020-08-20 155326

  6. Add it to the project.

  7. Rebuild the Audience_oM and Engine.
  8. Rebuild the latest Versioning_Toolkit.
  9. Open Grasshopper and the test file.
  10. Place the ToNewVersion component and pass in the JSON string of the old object.

    Annotation 2020-08-20 160500

  11. Check the change has occurred as expected by inspecting the output string from ToNewVersion.

    Annotation 2020-08-20 160600

  12. If that did not work then see below.