xGen Issue Missing MakeGuide?/Invalid Spline Guide

Anonymous

xGen Issue Missing MakeGuide?/Invalid Spline Guide

Anonymous
Not applicable

Hey everyone,

So seemingly for no reason I can think of or recreate my xGen guides are now not editable and I'm given this error -


// Error: XGen: Guide xgGuide198Shape has geometry but no vertices. Missing MakeGuide? //
// Warning: XGen(1): Invalid spline guide xgGuide198Shape with only 0 cvs. //


This is true for every guide.


I can't think of anything I was doing differently to cause this. On top of this, going back saves doesn't help either as I get the same errors.


Any and all help would be much appreciated!


Thank you!

Reply
954 Views
2 Replies
Replies (2)

Anonymous
Not applicable

Have the same problem and its not a new problem, but no one is replying. 

0 Likes

nkaklotar00
Community Visitor
Community Visitor

Try this Py script while selected the error guides

 

import maya.cmds as cmds
def connect_xgen_guides():
  guide_nodes = cmds.ls(type='xgmMakeGuide')
  for node in guide_nodes:
    downstream_nodes = cmds.listConnections(node, destination=True)
    if not downstream_nodes:
      continue
    downstream_node = downstream_nodes[0]
    cmds.connectAttr(node + '.outputMesh', downstream_node + '.inputMesh', force=True)
    print('Connected', node + '.outputMesh', 'to', downstream_node + '.inputMesh')
    cmds.connectAttr(node + '.toGuide', downstream_node + '.toMakeGuide', force=True)
    print('Connected', node + '.toGuide', 'to', downstream_node + '.toMakeGuide')
connect_xgen_guides()

0 Likes