nice one
Send a PM to user 'dco', he's also a maya user, he could help you out with testing etc...
greetz,
radiance
Moderators: Ratow, coordinators

# Setup 'proxy' and pointer
numTrianglesPx = OpenMaya.MScriptUtil()
numTrianglesPx.createFromInt(0)
numTrianglesPtr = numTrianglesPx.asIntPtr()
# pass pointer
itMeshPolygon.numTriangles(numTrianglesPtr)
# get real int value back from pointer
numTriangles = OpenMaya.MScriptUtil(numTrianglesPtr).asInt()



Return to LuxMaya (Autodesk Maya Exporter)
Users browsing this forum: Bing [Bot] and 1 guest