From: CHAPMAN, R. <ric...@um...> - 2004-01-22 22:26:11
|
hi =20 im having problems temporarily hiding the arrow drawn on screen the code goes something like what follows but i added comments on what is actually happening. any help would be appreciated. =20 rich, see code below :-) =20 xaxis=3Darrow(pos=3Dvector(0, 0, 0), axis=3D(0, 0, 0), = color=3Dcolor.red, shaftwidth=3D0.5) =20 xaxis.axis =3D vector(1, 0, 0) =20 #the vector is now displayed on screen =20 #now i cant seem to hide it xaxis.visible =3D 0 =20 #hhmm the xaxis is still visible on the screen but is no longer updated if i change something like position xaxis.pos =3D vector(3, 0, 0) =20 #lets try to make it invisible by making the axis nothing xaxis.axis =3D vector(0, 0, 0) =20 #now reshow the vector, but it never hid it in the first place, shows up in the position vector(3, 0, 0) xaxis.visible =3D 1 =20 =20 |