Forum Replies Created
Gabor Illes
ParticipantPosts: 2Threads: 3Joined: Mar 2025Gabor Illes
ParticipantPosts: 2Threads: 3Joined: Mar 2025<h6>it would not contain any extras, just the file location and the categories or tags listed:</h6>
<h6><span style=””>#(“j:\\_ASSETT_LIBRARY_\\Dimensiva\\Accessesories\\Artworks & Decoration\\Arch Steel Sculpture by Kristina Dam Studio-V-Ray.max”, “Bad\\Ikea\\Grey”),
#(“j:\\_ASSETT_LIBRARY_\\Dimensiva\\Accessesories\\Artworks & Decoration\\Art Lines Artwork Wall Decor by Boconcept-V-Ray.max”, “Furniture\\Dining\\Wood”)</span></h6>
I think the fastest solution is to use an image recognition AI to generate a database of which tags belong to which max file, then I run this script inside the manga and it automatically arranges the assets. I wrote a script but it only arranges the files into categories, they don’t get tags and so they can’t be searched. It would be enough if you could tell me how to complete my script/* ———— Konfiguráció ———— */
local assets = #(
#(“j:\\_ASSETT_LIBRARY_\\Dimensiva\\Accesories\\Artworks & Decoration\\Arch Steel Sculpture by Kristina Dam Studio-V-Ray.max”, “Bad\\Ikea\\Grey”),
#(“j:\\_ASSETT_LIBRARY_\\Dimensiva\\Accesories\\Artworks & Decoration\\Art Lines Artwork Wall Decor by Boconcept-V-Ray.max”, “Furniture\\Dining\\Wood”)
)local section = #Models — vagy #Materials, #Textures, stb.
/* ———— Segédfüggvény: kategória létrehozás ———— */
fn getOrCreateCategory pathString section =
(
local parts = filterString pathString “\\”
local parentID = 0for p in parts do
(
local name = trimLeft (trimRight p)
local existing = KstudioManagerCategoryAPI.GetCategories name section
local found = undefinedfor cat in existing do (
if cat.name == name and cat.getParent() != undefined and cat.getParent().id == parentID do (
found = cat
exit
)
)if found == undefined then
(
local newCat = KstudioManagerCategoryAPI.AddCategory name parentID section
if newCat != undefined then parentID = newCat.ID
)
else (
parentID = found.ID
)
)return parentID
)/* ———— Fő logika: assetek betöltése és kategorizálása ———— */
for item in assets do
(
local filepath = item[1]
local catPath = item[2]
local catID = getOrCreateCategory catPath section/* Hozzárendeljük az assetet a kategóriához */
if doesFileExist filepath do
(
local result = KstudioManagerCategoryAPI.AssignCategory catID #(filepath) section
if result then
format “✅ Hozzárendelve: % → %\n” filepath catPath
else
format “❌ Sikertelen hozzárendelés: %\n” filepath
)
)Gabor Illes
ParticipantPosts: 2Threads: 3Joined: Mar 2025“I’m also noticing that something isn’t working as expected.
When I drag an asset into the scene while holding Shift, it loads almost instantly along with the materials – but the textures are missing.
However, if I drag it in using just the left mouse button, it takes 3–4 seconds to load, but in that case, the textures appear correctly. Once it finishes loading, even the previously added object updates and displays the textures properly.I’d like to minimize the loading delay when bringing in an object.
What would be the correct workflow in this situation?
I’ve started considering using vrscene → proxy, hoping that it might load faster.Please help me understand how to optimize this process, as these long loading times interrupt the creative workflow. When added up, these delays can result in a significant number of lost work hours over the course of a large project.”