hello,
thanks @tummosoft, it's nice to see it's helpful 😄
@ilad
By the way instead of ID_BASEOBJECT_POSITION you could have use ID_BASEOBJECT_REL_POSITION. Both Ids are the same.
If you want to know how to get those ids you can use the python console and drag and drop parameters, more information on this page
In this case the DescID is composed of two DescLevel. The first define the Vector type, the second de Float type for X, Y and Z.
(DescID can have less or more levels)
To change the Size.Y of the cube, the descID will be :
c4d.DescID(c4d.DescLevel(c4d.PRIM_CUBE_LEN, c4d.DTYPE_VECTOR, 0), c4d.DescLevel(c4d.VECTOR_Y, c4d.DTYPE_REAL, 0)))
To change the scale of the object the descID will be :
c4d.DescID(c4d.DescLevel(c4d.ID_BASEOBJECT_REL_SCALE, c4d.DTYPE_VECTOR, 0), c4d.DescLevel(c4d.VECTOR_Y, c4d.DTYPE_REAL, 0)))
Cheers
Manuel