Fix the case where the user try to set a property of object inside a list property. Example: setting the property Layers.Material of a Construction.
This also added a fallback object type for case where the user is trying to set properties in the CustomData for example.
Test files
Use the one provided in the issue.
I have also added some additional check where the List property is not following an interface property just to be sure (as those two scenarios are treated slightly differently).
I would recommend also testing anything that comes to mind or existing files as it seems there are still cases I don't think about (as this PR proves). I have, for example, re-tested the file from this PR: https://github.com/BHoM/BHoM_UI/pull/371
@adecler sorry, I didn't understand.
Was that comment an instruction for me? If so, could you state again what check you would like me to run?
For example, if you would like me to run the `check-core` comment:
_"@BHoMBot check core"_
Issues addressed by this PR
Closes #375
Fix the case where the user try to set a property of object inside a list property. Example: setting the property
Layers.Material
of aConstruction
.This also added a fallback object type for case where the user is trying to set properties in the CustomData for example.
Test files
Use the one provided in the issue.
I have also added some additional check where the List property is not following an interface property just to be sure (as those two scenarios are treated slightly differently).
I would recommend also testing anything that comes to mind or existing files as it seems there are still cases I don't think about (as this PR proves). I have, for example, re-tested the file from this PR: https://github.com/BHoM/BHoM_UI/pull/371