I am looking to incorporate a runtime command in a small custom script I 
made and I cant find any information on how to query one. At least one I 
can understand that is.

Basically I want to use 'AttachBrushToCurves' to the script below or if 
need be depending on what the runtime command is really made up of: 


import pymel.core as pm
shapes = [s.getShape() for s in pm.ls(sl=1)]

for curves in :
    setAttr(curves + 'AttachBrushToCurves', 1)

I'm also just getting into this but Im sure the runtime command needs some 
work before just being incorporated into the script. 


-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8cdbd8a9-099f-45fc-91c0-e09112a6a74b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to