Home Coding, Scripting, Shaders

Preserve Edges python command

mcsterpro
polycounter lvl 2
Offline / Send Message
mcsterpro polycounter lvl 2
Hi friends, I have a question, in Maya there are a special option in OpenSubdiv controls named UV boundary smoothing how i can to select the "preserve Edges" like a python command to make a transfer attribute for some objects.

if anybody could help me thank you so much.
cheers

Replies

  • Deadly Nightshade
    Offline / Send Message
    Deadly Nightshade polycounter lvl 10
    Turn on the history in the script editor (topmost 4 checkboxes) - turn it off when you do Art work.
    Run the manual command.
    Use the MEL-command whatIs to find out what things are

    Example: whatIs changeToolIcon
    // Result: Mel procedure found in: C:/Program Files/Autodesk/Maya2019/scripts/startup/changeToolIcon.mel // 

    It's either a runtime command or a MEL-script. If it's a runtime command then the name is the same in MEL as it is in Python and you can access it like maya.core.theCommand and the flags +command description can be found in the official docs.

    If it's a MEL-script native to the application then open it up in a text editor and see what it does. The commands are inside.
Sign In or Register to comment.