Hey guys I have been recently working on MEL scripting in maya but burst into a problem with ls -sl command. string $selectionList[] = 'ls -sl'; this gives syntax error. I tried a lot and searched through the net but every example is like that. I guess the reason is a foolish one but what can it be?
Could you explain what you're trying to do? You're trying to read geometry objects from a file and creating curves from their vertices? Is it a requirement to use Python? I think MEL could be more simple (here's a guide on MEL and MaxScript).