THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/03/2011 at 02:59, xxxxxxxx wrote:
How can I seperate the 3 vector Values to use elsewhere.
boundingbox = activeobject.GetRad()
# output: Vector(100.836, 35, 30)
I want to have the min and the Max Values as seperated Variables
a = 100.836
b = 35
c = 30
thanks in advance
On 03/03/2011 at 04:09, xxxxxxxx wrote:
Look at this example, I think it will answer more than just your question.
def SeprVec(vec) :
return vec.x, vec.y, vec.z
def main() :
vec = c4d.Vector(100,30,25)
a, b, c = SeprVec(vec)
On 03/03/2011 at 22:25, xxxxxxxx wrote:
i got it working ...