Is it possible to use config specific value in a global variable?

I have a part file that contains two configs, Default and STOCK. The STOCK config has a bounding box that represents the necessary material size to order. I want to reference the relevant config specific values in global variables so that I can insert them into the drawing title corner.

My problem is that SWX states that this isn't allowed. Does anyone know a work around?

Any help would be greatly appreciated. Thanks.

Solidworks Premium 2019 SP1.0

Windows 10 Pro

Intel Xeon CPU E5-2667 v4 @3.20GHz

64 GB Ram

Nvidia Quadro M5000

SolidworksGeneral