Render.ru

Pymxs python удаление модификатора по классу

k3b3

Активный участник
Рейтинг
16
#1
Как удалить с помощью питон все модификаторы выделенных объектов по классу (например meshsmooth)
Пока то, что нашел

nodes = rt.getCurrentSelection()
for node in nodes:
mods = node.modifiers
for mod in mods:
cl = rt.classOf(mod)
print(cl)
rt.deleteModifier(node, mod)
 

Aneesha Bapat

Пользователь сайта
Рейтинг
2
#4
SevenMentor offers an exceptional Python course in Pune, fostering a comprehensive learning environment that equips students with in-depth knowledge and practical skills in Python programming. With experienced instructors and hands-on training, the course covers fundamental concepts to advanced techniques, empowering individuals to develop robust applications and solve real-world problems using Python. The curriculum is designed to cater to beginners as well as professionals seeking to enhance their proficiency in this versatile programming language, ensuring a rewarding and impactful learning experience at SevenMentor's Python course in Pune.
 
Сверху