XGen Copy/Paste Bug

XGen Copy/Paste Bug

Anonymous
Not applicable
8,031 Views
27 Replies
Message 1 of 28

XGen Copy/Paste Bug

Anonymous
Not applicable

Hey guys!

 

I've been trying to learn some basics of xGen. I know once you place guides, you can right-click to copy paste guides. However, when I go to paste, the first guide disappears and the second guide never shows up. Then I try to select other guides, and Maya consistently has a fatal error:

 

Capture.PNG

 

Specs:

specs.PNG

 

 

I updated my GeForce driver today as well too...

Thanks in advance!

 

0 Likes
Accepted solutions (1)
8,032 Views
27 Replies
Replies (27)
Message 21 of 28

Michael_Todd
Alumni
Alumni

To be fair, it's not a very likely scenario where two guides are going to both have 0.0,0 normal vectors in a real use sense. Probably why it's not come up till now, even though XGen has been in use for quite a while...

 

Cheers



Michael Todd

XGen Product Owner and Designer

0 Likes
Message 22 of 28

mspeer
Consultant
Consultant

Hi!

 

That's right, but when selecting one guide and copying it to others around and you do a marquee select it can easily happen to select the original guide too (and i think something like this happens to the thread opener).

 

Even if it's not very likely, it can happen, and if it happens and you don't delete the corrupted guide at first, then Maya will crash (there is no undo possible).

 

It's easy to make the function safe:

 

from

$tmp = rot( $tmp, $axis, $ang );

 

 

to

 

if($axis != <<0,0,0>>) {
    $tmp = rot( $tmp, $axis, $ang );
}

 

so the rotation/re-positioning of a CV ($tmp) will only be calculated if necessary. It should not be a problem to implement this (as long as i don't overlook something critical here).

 

0 Likes
Message 23 of 28

Anonymous
Not applicable

So, after reading these comments and watching more tutorials, I realize I misunderstood...

 

My initial understanding of the copy-paste tool was that you could copy a guide and paste it anywhere on the surface - essentially creating the same guide somewhere else on the mesh.

 

Now I understand that copy-paste is actually pasting the shape of the guide onto a non-shaped guide. Not creating an entirely new guide.

That's why it was disappearing... I didn't have the non-shaped guide selected.

 

So sorry for all of the trouble!

Thank you for taking the time to respond.... much appreciated.

0 Likes
Message 24 of 28

Anonymous
Not applicable

Having this bug in maya 2020.1 🙂

0 Likes
Message 25 of 28

mspeer
Consultant
Consultant

Hi!

The fix was never implemented by Autodesk.

0 Likes
Message 26 of 28

Anonymous
Not applicable

Found a fix for Maya 2020.1.  If you make the human 158.496 cementers that's 5.2 feet or 170.688 that's 5.6 the tool works.  Use the scale tool to measure your character. Making it real world scale makes it work.  Even the poly plane for the grass I had to raise it up lol.

0 Likes
Message 27 of 28

mspeer
Consultant
Consultant

Hi!

 

I already posted the fix, just edit the "xgmCopyGuides.mel" as advised in the previous post:

https://forums.autodesk.com/t5/maya-dynamics/xgen-copy-paste-bug/m-p/7351881/highlight/true#M5742

 

This takes just a few seconds.

0 Likes
Message 28 of 28

Anonymous
Not applicable

Thanks mspeer for the reply now works good thanks to you.

0 Likes