Artificial Intelligence has come a long way, but can she do it ?
Link to the previous video : • #Maya2022 Quick Tip : How to select e...
The Python code used in the video :
import maya.cmds as cmds
n = 3 # replace this with your desired n value
get the current selection
selection = cmds.ls(selection=True)
loop through each selected object
for obj in selection:
get the number of faces in the object
num_faces = cmds.polyEvaluate(obj, face=True)
select every n-th face in the object
for i in range(n - 1, num_faces, n):
cmds.select("{0}.f[{1}]".format(obj, i), add=True)
Don't forget to check out my friends at vrbn studios !
They not only sell awesome urban building props for your project but are also experts in creating custom urban environments for movies, games, city development and more. Please check their website and show them some love.
Website : http://www.vrbn.io
Check out my Private 3D artist community on Facebook with 4000+ artists !
/ 294359217578724
I do NOT monetize my videos, show YouTube ads or have a Patreon page.
But if you want to support me, you can buy me a cup of coffee :-) It's much
appreciated !
Here's a link : https://ko-fi.com/mhtutorials
My socials :
Facebook page : / mhtutorials
Facebook group : / 294359217578724
Twitter : @MHTutorials
Instagram : @MHTutorials
Watch video Asking ChatGPT Artificial Intelligence to write Python code for me ( 4K Video ) online without registration, duration hours minute second in high quality. This video was added by user MH Tutorials, the Modeling Hub 17 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,68 once and liked it 13 people.