Here is one way you can do this. If you are building a HDA, the multiparm block should be in your HDA parameters instead of a nested node, otherwise it can be quite difficult to manage.
multiparm_sample.hiplc
so you want to change the color because of their distance to each other? In that case you, should try the nearpoints function. here is an example:
nearpoints in dopnet.hipnc