Tagged: Auto Assign Preview
- March 24, 2020 at 17:43 #271803dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
Here are the filename of the max files and the images I want to auto-assign.
CGAxis 001 – Plants 001_Render 01.jpg
CGAxis 001 – Plants 001_Render 01wire.jpg
CGAxis 001 – Plants 002_Corona.max
CGAxis 001 – Plants 002_Render 01.jpg
CGAxis 001 – Plants 002_Render 01wire.jpg
CGAxis 001 – Plants 001_Corona.max
Is it possible to add an option to the new feature for regular expressions or is my naming scheme possible with the current features?
So a filter could be used such as (which has (?i) for turning off case sensitivity so that the filenames case doesn’t matter):
(?i)(_render.*|_corona.*|vray.*)(\.)(jpg|png|max|obj)$
As you can see the jpg and the max files both have the same final name so that PM could then match the same image files to the max files as in this example.
Plugin version: 3.09.15
3ds Max version: 2020 - March 24, 2020 at 17:48 #27186Oleksandr KramerModeratorPosts: 258Threads: 1137Joined: Aug 2009
Switch to Fuzzy search and use the next text in the “Ignore”
<regex:\d{3}(_render|_corona|\s\d*|wire)>
- March 24, 2020 at 18:28 #271873dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
I did try yours and one of mine which resulted in all the previews getting assigned to each max file
My regexp:
<regex:(_Render.+|_Corona.+)>
See attached the result (along with a suggestion for showing the number of preview if they exist)
- March 24, 2020 at 18:39 #271883dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
- March 24, 2020 at 19:23 #27189Oleksandr KramerModeratorPosts: 258Threads: 1137Joined: Aug 2009
Please run this command in the Command Promt and send a file “myfiles.txt” to support@3d-kstudio.com
dir c:\path_to_models /s/b ->myfiles.txt
- March 24, 2020 at 19:27 #271903dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
Done. What in regards the numbers of the previews. Is that something you’d consider?
- March 25, 2020 at 14:58 #27195Oleksandr KramerModeratorPosts: 258Threads: 1137Joined: Aug 2009
Version 3.09.18 gains the ability to specify the level of similarity of filenames.
In your case the ignore should be next: <regex:_corona|(_render\s\d*|wire)>
And Difference should be set to “Similar“.
What in regards the numbers of the previews.
I’ll add this to the feature list.
- March 25, 2020 at 20:27 #272023dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
Thanks, that’s working but it has brought up a new issue for me.
It is assigning the _wire images to the first image in the preview. How could I get it so that the _wire images get assigned last? The order is reversed as to what File explorer is showing.
This is the order as shown in the file explorer.
- March 26, 2020 at 01:56 #27206Oleksandr KramerModeratorPosts: 258Threads: 1137Joined: Aug 2009
Ok. Maybe I should add the new block like “Order rules” to the settings.
- March 26, 2020 at 01:59 #272073dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
Yes, a-z and z-a and whatever you decide. Cheers.
- April 10, 2020 at 14:15 #273773dwannabParticipantPosts: 4Threads: 15Joined: Sep 2019
Hi,
Just wondering if you have added the sorting in the latest release? 3.10.10
Thanks for adding the numbers for the previews.
- April 30, 2020 at 11:08 #27706Oleksandr KramerModeratorPosts: 258Threads: 1137Joined: Aug 2009
This feature in development.
Thanks for your idea!
- November 18, 2020 at 10:02 #30198Oleksandr KramerModeratorPosts: 258Threads: 1137Joined: Aug 2009
Project Manager version 3.13.00 gains the ability to sort and exclude files from the Gallery
These settings apply automatically on auto assigning. Also, you can apply these rules for selected items or to all items in the database.
You can download this version from the dashboard.
Auto-updater will be triggered in a few days if there’s no critical issue found.
Thanks for your ideas!PS. Type words in quotes.
<_wire><_ambient><word3><etc>
[Resolved]
You must be logged in to reply to this topic.