View Full Version : "polyClipBoard" command leading to memory overflow

09 September 2005, 02:56 PM

I need to transfer UVs from a uvset of "Object A" to another of "Object B" (both being polygonal objects having same topology). I'm using polyClipBoard command's copy and paste options for the transfer. This command is run in a loop as follows(just a rough script to show logic):

for each face on polygon opbect
polyClipBoard -copy -uv <source object>;
polyClipBoard -paste -uv <source object>;
polyClipBoard -clear -uv -shader -color;

The script works absolutely fine for low-res objects. But when it is executed on high-res objects, it gives an "insufficient memory" error and maya stops the loop halfway or hangs. My question is, why does it show memory problem even after executing a "clear" on the polyClipBoard? How does -clear flag work and what does it clear?

Any MEL-super-freaks please help!!!

CGTalk Moderation
09 September 2005, 02:56 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.