Change to a property name - BHoM/documentation GitHub Wiki
Change to a property name.
-
In the Audience Profile Parameters object I want to change the property
NumRows
toRows
. -
Before any changes to the code I create the JSON string:
-
And save a Grasshopper file with a panel containing that string.
-
I make the property name change in the code:
-
Create the Versioning_XX.json:
-
Add it to the project.
-
Rebuild the Audience_oM and Engine.
-
Rebuild the latest Versioning_Toolkit.
-
Open Grasshopper and the test file.
-
Place the
ToNewVersion
component and pass in the JSON string of the old object. -
Check the change has occurred as expected by inspecting the output string from
ToNewVersion
. -
If that did not work then see below.