Value* getFlipped_cf(Value** arg_list, int count) { check_arg_count(getFlipped, 0, count); GraphicsWindow *gw = MAXScript_interface->GetActiveViewExp().getGW(); if (MaxSDK::Graphics::IsRetainedModeEnabled() && gw->querySupport(GW_SPT_NUM_LIGHTS) == 0) { return &undefined; } BOOL res = gw->getFlipped(); return (res) ? &true_value : &false_value; }