Using .dscript to change Table properties when plotting

Hello,

Does anyone know how to use a .dscript to change the properties of a table in ORD? For example, in our dscript, we have the below code to determine the line thickness when plotting based on the weight of the line.

if (weight .eq. 0) then
thickness = .008
else if (weight .eq. 1) then
thickness = .010

However, when I plot a table, it is not following this. I suspect this is because the borders in the table are part of the table element itself, and not it's own thing like a line would be. How do I tell the dscript to look for the weight of the border, or other properties of the table?