im trying to create a linear curve, set using two coodinate points. And then after this line has been drawn i am using the rebuildCurve command to add the number of spans in the curve. However the number of spans i want is 2. but the minimum the rebuildCurve command seems to create is 4.
Does anyone know of a way simply to split a curve in half so i has two spans, within python?
here is my current code:
##########################################################
import maya.cmds as cmds
cmds.curve(n='samsCurve',d=1, p=[(0,0,0), (1,0,0)])
cmds.rebuildCurve(d=1, rt=0, s=2)
##########################################################
thankyou all,
Sam
Sam