_dmDistance3d between array and solid

Dear all,

I am assembling a parametrized object for cable duct works. The chamber has been parametrized as attached. Secondly I want to define openings as arrays based on holes from the standard library. Unfortunately I cannot get to parametrize the array with the volume / surfaces using _dmDistance3d. Any hints on how to move forward are highly welcome.

image