Message 1 of 5

Not applicable
06-16-2019
01:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I'm tring to make a script in MEL that allow me to disconnect the shading groups from an object selection... I saved two strings variables, one that containts the shapes list and another that contains the SG list of the selected objects... Then I used this command to disconnect the attributes:
disconnectAttr ($geoShapes[$i] + ".instObjGroups[]") ($geoSG[$i] + ".dagSetMembers[]");
This line is placed into a for loop... When I run the script I get this error message:
// Error: Line 15.95: Unterminated string.
Someone could help to understand what's wrong with my script?
Thanks!
Solved! Go to Solution.