extrude a curve along another curve with construction history on.
select the output to be polygons.
There will be a Tesselate node.
if you try to set the attribute implicitly like:
"tessnode.format.set(2)"
it sends an error.
I think the attr "format" is also used for strings so it's coming back as a
function not an attribute.
you have to set it in a non-OOP way like this:
pm.setAttr("%s.format" % tessnode,2)
What Version of Maya are you using? 2011
On what operating system? (be as specific as possible and include service
packs, 64bit vs 32bit, etc)
Linux
What Version of PyMEL are you using?
1.0.3
What is the expected output? What do you see instead?
the value for .format should be piped into the attribute not the function of a
super class
If possible, provide a few lines of code to reproduce the problem. It helps
us if your code will reproduce the problem from a new scene.
# CREATE an Extrudable
theCircle = pm.circle(r=1.0, d=1, s=6, ch=1)[0]
theCurve = pm.curve(d=3, p=[(0, 0, 0), (0, 0, 3), (0, 0, 6), (0, 0, 9)])
extSurfTFM, extrudeNode = pm.extrude(theCircle, theCurve, ch=True, rn=True,
po=1, et=2, ucp=0 )
tessNode = extrudeNode.outputs(type="nurbsTessellate")[0]
tessNode.polygonType.set(1)
try:
tessNode.format.set(1)
except:
pm.setAttr("%s.format"%test,2) # format is broken set it this way
Does maya.cmds exhibit the same problem? No.
Please provide any additional information below.
Original issue reported on code.google.com by geordiem...@gmail.com on 9 Aug 2011 at 1:01
Original issue reported on code.google.com by
geordiem...@gmail.com
on 9 Aug 2011 at 1:01