tag:blogger.com,1999:blog-5843729944805509488.post5802806011373118716..comments2015-02-09T19:25:43.374+01:00Comments on Finger Twitches: Alembic Maya - Edge Crease ExportDimitry Kachkovskihttp://www.blogger.com/profile/13954483539586993960noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5843729944805509488.post-51241755547715695972014-07-21T23:39:07.504+02:002014-07-21T23:39:07.504+02:00Could you specify what isn't working? The crea...Could you specify what isn't working? The creasing, or the attribute addition?Dimitry Kachkovskihttps://www.blogger.com/profile/13954483539586993960noreply@blogger.comtag:blogger.com,1999:blog-5843729944805509488.post-10937727773726898172014-07-18T21:27:06.378+02:002014-07-18T21:27:06.378+02:00I have noticed that this method isn't working ...I have noticed that this method isn't working with skinned meshes. Any theories?Anonymoushttps://www.blogger.com/profile/04971983826978365822noreply@blogger.comtag:blogger.com,1999:blog-5843729944805509488.post-39702247044351024222014-07-17T00:33:33.976+02:002014-07-17T00:33:33.976+02:00Yup, you got it! Just add it like you would nay ot...Yup, you got it! Just add it like you would nay other attribute. Just make sure to spell it right and keep the camel casing.<br /><br />Glad I could help!<br /><br />Cheers,<br /><br />DKDimitry Kachkovskihttps://www.blogger.com/profile/13954483539586993960noreply@blogger.comtag:blogger.com,1999:blog-5843729944805509488.post-68701953717334775182014-07-16T23:34:44.696+02:002014-07-16T23:34:44.696+02:00##This works!
import maya.cmds as cmds
selMesh=cmd...##This works!<br />import maya.cmds as cmds<br />selMesh=cmds.ls(sl=True)<br />listShape=cmds.listRelatives(selMesh,s=True)<br />selShape=listShape[0]<br />cmds.select(selShape)<br />cmds.addAttr(ln="SubDivisionMesh",at='bool')<br />cmds.setAttr(selShape+".SubDivisionMesh",k=True,e=True)<br />cmds.setAttr(selShape+".SubDivisionMesh",1)Anonymoushttps://www.blogger.com/profile/04971983826978365822noreply@blogger.comtag:blogger.com,1999:blog-5843729944805509488.post-83505915758848617412014-07-16T21:09:01.147+02:002014-07-16T21:09:01.147+02:00Very informative! How did you attach the flag to t...Very informative! How did you attach the flag to the shape node? Was it a script?Anonymoushttps://www.blogger.com/profile/04971983826978365822noreply@blogger.com