Hello,
Beginning with the 3dsmax2017 python thing…
I use to daily having fun writing Maya, Python tools.
Basically I have 2 major questions
1 - object cast from INode.
- object selection to dummy :
import MaxPlus
sl = MaxPlus.SelectionManager.GetNodes()
for item in sl:
dummy = MaxPlus.DummyObject._CastFrom(item)
print("dummy = " + str(dummy))
- object selection to TriObject :
import MaxPlus
sl = MaxPlus.SelectionManager.GetNodes()
for item in sl:
tri = MaxPlus.TriObject._CastFrom(item)
print("tri = " + str(tri))
- to make a Node from a Geometry, then cast the geometry from the Node :
import MaxPlus
geom = MaxPlus.Factory.CreateGeomObject(MaxPlus.ClassIds.TriMeshGeometry)
print("geom = " + str(geom))
node = MaxPlus.Factory.CreateNode(geom)
print("node = " + str(node))
geom = MaxPlus.GeomObject._CastFrom(node)
print("geom = " + str(geom))
All return “None”, then not sure to get it… O_o.//
Mainly looking for get typeOf() an object, but found nothing working with typeOf(), getType(), etc…
Well I think it’s more about understand node hierarchy…
Mainly working with the 3dsmax documentation but not much resource on google
2 - to build UI :
I found nothing from MaxPlus, there’s only the QtGui barely supported and it’s like everything should be evaluated from maxscript? O_o… I would like to hear some tips/advise please!
With QtGui idn’t even success to set color, text size, text style, or to create such as column or row, thing there is in Maya… Any equivault? or doc I could learn a bit more about how to build an interface?
Found the maxscript resource but well… it all has to be evaluate with python from maxscript string… O_o…
3 - Started 2 topic on autodesk forum but answer then glad if someone could have an answer also !
a- 3dsmax python doc search tool :
b- pycharm setup issue :
Thanks by advance! ^_-