Pjanssen
@pjanssen
New Member
Joined: Feb 14, 2024
Topics: 53 / Replies: 510
Reply
RE: dotnet.addEventHandler and structs

Aha sorry I missed that struct. I think this kind of construct is a little odd…having a struct inside a rollout. Why would you want to do that?

14 years ago
Forum
Reply
RE: dotnet.addEventHandler and structs

If you’re using a dotnetcontrol in a maxscript rollout it might save a lot of trouble to use the “standard” maxscript way of catching events. E.g. : …

14 years ago
Forum
Reply
RE: SDK: ActionItems and ActionTable issue

A gentle nudge I’m still rather stuck on this issue, so if there’s anyone who can give me a hint, that would be great.

14 years ago
Forum
Topic
Forum
Replies: 1
Views: 17
Reply
RE: MacroScript using a struct function.

Alternatively, have the macroscript declare a global variable you use for the struct (or an instance of the struct), and when running check whether it…

14 years ago
Forum
Reply
RE: SDK: Update/Redraw mesh after changing smoothing groups

I found this in some old Sparks archive which seems to do the trick nicely: mesh->InvalidateTopoCache(false); node->NotifyDependents(FOREVER, T…

14 years ago
Forum
Reply
RE: SDK: Update/Redraw mesh after changing smoothing groups

Ok I think I figured out the required function calls. I just put in everything I could find which might be it, and then started taking things away one…

14 years ago
Forum
Reply
RE: SDK: Update/Redraw mesh after changing smoothing groups

Hmm ok so it seems like sometimes it works with mesh->invalidateGeomCache(), and sometimes it doesn’t… quite odd. Indeed converting the object to a…

14 years ago
Forum
Topic
Reply
RE: Moving vertices using SDK

Have you tried adding a DebugPrint before moving the vertex to check whether the vertices you’re moving are actually the right ones? Or at least have …

14 years ago
Forum
Reply
RE: Node Managing

Yes, each node has a “handle”. Have a look at the AnimHandle in the maxscript help. A number that would carry over from file to file if it were to b…

14 years ago
Forum
Reply
RE: User plugin directory?

Maybe this is not a related issue, but something odd is happening: now that I have added an entry to plugin.usersettings.ini my plugin loads as expect…

14 years ago
Forum
Reply
RE: User plugin directory?

Aha hmm ok that will work for my purposes. Thanks!

14 years ago
Forum
Topic
Forum
Replies: 3
Views: 30
Reply
RE: When-construct double return?

This is a guess, but could it be that this behavior is caused by the fact that the “selected” state of two objects changes, and thus you get two event…

14 years ago
Forum
Page 8 / 38