Hi Simon,

right now there is no multi field support but I could add this.

Andreas

> hi
> 
> does anybody know how to set a multifield in vred's python 
> interface with the vrFieldAccess object? i'm trying to set the 
> 'range' field of a 'DistanceLOD' node...
> 
> here's a python snippet:
> 
> bn = range(500)
> 
> for i in bn:
>    lodNode = createNode("DistanceLOD")
>    lodNode.setName("building"+str(i))
>    l1 = loadGeometry("bla.lod1.b"+str(i)+".obj")
>    l2 = loadGeometry("bla.lod2.b"+str(i)+".obj")
>    l3 = loadGeometry("bla.lod3.b"+str(i)+".obj")
>    lodNode.addChild(l1)
>    lodNode.addChild(l2)
>    lodNode.addChild(l3)
>    bc = l1.getCenter()
>    lodNode.fields().setPnt3f("center", bc[0], bc[1], bc[2])
>    #lodNode.fields().setVec("range", [50.0, 75.0])  # does not work
> 
> 
> regards,
> simon
> 
> 
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 
> 



_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to