Randy ma magn 5050

Merging due to 074 release urgency. @Randy-Ma please address @pboyer's comments from here: https://github.com/DynamoDS/Dynamo/pull/3023/files in a follow on commit.

Commit process is odd due to a merge problem with the previous PR.