Notifications
Clear all

[Closed] Scripted plugin extending Editable_Mesh

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.

7 Replies
2 Replies
(@denist)
Joined: 1 year ago

Posts: 0

In general case you can’t extend the editable_mesh modifier (as well as any mesh modifier). Taking into account the fact that you still use very old version of MAX I would say that the extension is absolutely impossible in any case.

(@gtafan)
Joined: 1 year ago

Posts: 0

OK, was thinking that it´s so. Any way around, that worcks also with old max versions?

If you succeed extending the Editable_Mesh modifier please post the solution here.

What you mean by succeed?

1 Reply
(@polytools3d)
Joined: 1 year ago

Posts: 0

Achieve the desired aim or result (Google)

make a tool instead of a modifier

1 Reply
(@gtafan)
Joined: 1 year ago

Posts: 0

Sorry, as you know my maxscript knowledge is very low, so could you explain for beginner like me, what you meaning? The superclass of my plugin is geometry and not modifier, so not understanding. My plugin extends Editable_Mesh not Edit_Mesh.