take a look here. Might be of some help. Setting rebar container dimensions in Dynamo (Dynamo for Rebar)