OpenPype
OpenPype copied to clipboard
Max: Implementation of the validator for model name
Changelog Description
Implement the validator for model name in 3dsmax
Additional info
The validation regex by default is (.*)_(?P<subset>.*)_(GEO) and
your model name should be {Some name}_{SubsetName}_GEO
Testing notes:
- Go to OP/AYON Settings
- Turn on Validate Model Name
- Set your preferred validation regex for checking your model name
- Validate Model Name would check your name accordingly with your validation regex
Task linked: OP-7076 Validate Model Name
When inspecting the Validator Settings in Ayon,
is that regex correct? I mean this is how it looks when defaults (obviously not matching the one mentioned above):
When inspecting the Validator Settings in Ayon,
is that regex correct? I mean this is how it looks when defaults (obviously not matching the one mentioned above):
![]()
No, it should be (.*)_(?P<subset>.*)_(GEO),
I already update this in the latest commit.
@LiborBatek Can you please test again to see if it works? I have adjusted the action script a little bit, which means #6198 and #6110 possibly need some re-tests.
closing: won't do - done in AYON (https://github.com/ynput/ayon-core/pull/59)