effect = { add_realm_law_skip_effects = female_only_law every_vassal_or_below = { add_realm_law_skip_effects = female_only_law } }
I think that will work in the console, and it should change the inheritance law of you and every vassal in your realm. Replace female_only_law
with the gender law you want. Options are: female_only_law
, female_preference_law
, equal_law
, male_preference_law
, and male_only_law
.
But I think that anyone who doesn't have the faith and culture to support the gender change will have their law bounce back to what it was in a few days.