THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/08/2012 at 14:45, xxxxxxxx wrote:
I would like to know if someone already used the function BaseDraw.DrawPoints :
BaseDraw.DrawPoints( vp[, vc][, colcnt=0][, vn] )
Draws an array of shaded points with individual colors. The shading is determined by SetLightList().
The coordinates must be in the space defined by SetMatrix_Screen(), SetMatrix_Camera() or SetMatrix_Matrix().
I did :
> vp = 
> vp.append(c4d.Vector(0, 0, 0))
> vp.append(c4d.Vector(10, 10, 10))
> vp.append(c4d.Vector(20, 20, 20))
> vp.append(c4d.Vector(30, 30, 30))
And always get :
> value error: invalid object length
If someone can help,
On 23/08/2012 at 01:57, xxxxxxxx wrote:
Just would like to know if it's API related or I misused the function ?
Nobody has a clue ?
On 23/08/2012 at 02:40, xxxxxxxx wrote:
I also get the same error, I can't tell you what the issue is. It seems like a bug to me.
I tested the following code in the DrawHelper plugin:
from c4d import Vector
def main() :
points = (
Vector(100, 0, 0),
Vector(0, 100, 0),
Vector(0, 0, 100),
colors = (0.1, 0.5, 0.2)
On 23/08/2012 at 14:07, xxxxxxxx wrote:
Thank you for your help, I will submit a bug report.