one last thing,

i am currently splitting things up like you showed which works. But is there 
actually a way to fit this all on one line if there are two string chunks 
seperated?. 

the problem is after the 'curve{}' there needs to be the other square brace ] 
then followed by the second string'.spans'

cmds.getAttr(curves['curve{}'.format('xyz')].spans)*2+1

should i just use a + inbetween ] and '.spans'

thanks, 
Sam

-- 
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/9731b420-3b56-4d22-8201-db8e732c7068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to