LayerNameSel 3dsmax script

$0+
2 ratings

LayerNameSel - скрипт для быстрой работы со слоями в 3dsmax, задумывался как одна команда на кнопке, в итоге вышло что то чуть больше и удобнее.

функционал такой:

1. обычное нажатие:

а) если выделены объекты - создает слои с именами выделенных объектов и кладет их в соответствующие слои, при этом удаляет все символы после "_".

б) если ничего не выделено - создает слои с именами всех объектов в сцене и кладет их в соответствующие слои, при этом удаляет все символы после "_".

2. нажатие с Shift - создает слои с именем первого выделенного объекта и кладет все выделенные объекты в этот слой, при этом удаляет все символы после "_".

3. нажатие с Ctrl - удаляет все пустые слои

4. нажатие с Alt -

а) перемещает выделенные объекты в активный слой

б) если ничего не выделено, все объекты выделяются и перемещаются в активный слой

5. нажатие с Shift+Ctrl - выделяются все объекты в слое выделенного объекта

6. нажатие с Shift+Alt - делает тоже что 1п, но без изменения в имени слоя.

7. нажатие с Ctrl+Alt - делает тоже что 2п, но без изменения в имени слоя.

8. нажатие с Shift+Ctrl+Alt:

а) отключает или включает кнопки By Layer в свойствах всех выделенных объектов.

б) отключает кнопки By Layer в свойствах всех объектов в сцене.



после установки искать в категории RUST Script - LayerNameSel

!!! если вдруг не работает скрипт с сочетаниями разными кнопок нужно включить lock UI Layout в меню customize, тогда все ок

https://youtu.be/UcQrf95wjC8


upd 3.1:

обновлена команда 4. нажатие с Alt - перемещает выделенные объекты в активный слой
добавлено: если ничего не выделено то все объекты выделяются и перемещаются в активный слой

upd 3.2:

теперь в имени слоя, которое берет с объекта, удаляются символы после "_" в конце имени, спасибо Pavel T (https://t.me/TPV13)

upd 3.2:

some fix



____________________________________

LayerNameSel - the script for quick work with layers in 3dsmax, was conceived as a single command on a button, as a result, something a little bigger and more convenient came out.

the functionality is as follows:

1. normal pressing:

a) if objects are selected, creates layers with the names of the selected objects and puts them in the appropriate layers, while removing all characters after "_".

b) if nothing is selected, creates layers with the names of all objects in the scene and puts them in the appropriate layers, while removing all characters after "_".

2. Pressing Shift - creates layers with the name of the first selected object and puts all selected objects in this layer, while removing all characters after "_".

3. pressing Ctrl - removes all empty layers

4. pressing with Alt -

a) moves the selected objects to the active layer

b) if nothing is selected, all objects are selected and moved to the active layer

5. pressing Shift+Ctrl - selects all objects in the selected object layer

6. Pressing Shift+ Alt - does the same as 1p, but without changing the layer name.

7. Pressing Ctrl+Alt - does the same as 2p, but without changing the layer name.

8. Pressing with Shift+Ctrl+Alt:

a) disables or enables the By Layer buttons in the properties of all selected objects.

b) disables the By Layer buttons in the properties of all objects in the scene.


after installation, search in the RUST Script - LayerNameSel category



upd 3.1:

updated command 4. pressing Alt - moves the selected objects to the active layer

added: if nothing is selected, then all objects are selected and moved to the active layer

upd 3.2:

now in the name of the layer that takes from the object, the characters after the "_" at the end of the name are removed, thanks to Pavel T (https://t.me/TPV13 )

upd 3.2:

some fix

$
I want this!
Copy product URL

Ratings

5.0
(2 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$0+

LayerNameSel 3dsmax script

2 ratings
I want this!