I have created globalNetconnect on PowerSwitch Global Pin VDDG
globalNetConnect VDD -type pgpin -pin VDDG -all
but I can not VIA on that pin from VDD M5 to the PowerSwitch Global VDDG M1 with under command
editPowerVia -bottom_layer M1 -add_vias 1 -top_layer M5 -net VDD