My first thought. Connect idc with dc current=1 and ac=1 to shunting inductor. From dc analysis you get resistance value as voltage drop on net connecting idc with your inductor. From AC analysis You will obtain impedance of inductor. Quality factor is Q=wL/R, so using simple formula (VF("/Net1")/VDC("/Net1"))-1 You should get quality factor of inductor, where Net1 is the net connecting idc with inductor. Of course it's a more complicated if some capacitance exist, but for the first order it should be ok.
You can also check in virtuoso calculator that is any function for it.