I want to write a plugin extending Editable_Mesh and the code looks like this:
plugin geometry MyMesh
name:"My mesh"
classID:#(0x133067, 0x54374)
category:"my Pplugines"
extends:Editable_Mesh
(
parameters main rollout:params
(
...
)
rollout params "My Parameters"
(
...
)
tool create
(
on mousePoint click do
(
nodeTM.translation = gridPoint
#stop
)
)
)
I can create objects of type MyMesh and atach another mesh to the created object, the result is of type MyMesh, but when I try to edit vetex, face or UVMap of that object 3ds max crashes.