f97ao
@f97ao
New Member
Joined: Feb 14, 2024
Topics: 55 / Replies: 223
Reply
RE: 3dsmax SDK adventure

This is the complete code for a function to test if an object is an editable_poly object or an editable_mesh object: To use it just write in MaxScrip…

19 years ago
Forum
Reply
RE: 3dsmax SDK adventure

Small things I found: If you want to use strings you have to use max own string include. #include “Numbers.h” // for handling of maxscript Integers …

19 years ago
Forum
Topic
Forum
Replies: 40
Views: 104
Reply
RE: massive undo on loop

Be careful with undo in big loops, it gets very slow and can demand so much memory so max crashes. Undo doesn’t always work as expected, but I would e…

19 years ago
Forum
Reply
RE: Get Base Object type ?

Do something like this classOf($.baseObject)==Editable_Poly classOf($.baseObject)==Editable_Mesh /Andreas

19 years ago
Forum
Reply
RE: How to call script in SDK ?

It’s pretty easy. You find a tutorial here: Good Luck /Andreas

19 years ago
Forum
Reply
RE: using callbacks to stop a node from being deleted

Glad it worked. If you find any better ways of doing it please tell. I just added it so haven’t tested it that much. It seems to work fine though. /A

19 years ago
Forum
Reply
RE: using callbacks to stop a node from being deleted

fn FW_ToolsUndoDelete theNode= ( if theNode==FW_MotherObject and FW_DetailMode then ( qDelete=queryBox “Are you sure you want to delete the Detai…

19 years ago
Forum
Reply
RE: theHold ? how to use it?

Undo doesn’t work for everything I’m afraid. What exactly is it that you would like to undo? I experimented a little with theHold, but left it alone …

19 years ago
Forum
Reply
RE: How to detach polygon in SDK?

I assume you mean MaxScript and not the SDK (that is in c++). Look in the help for Editable_Mesh and detach Here is an example of something similar …

19 years ago
Forum
Reply
RE: Between-Frame Scripting

Just a thought. Maybe the problem is created partially by the render callback. Perhaps you can instead change the geometry with the script and then c…

19 years ago
Forum
Topic
Forum
Replies: 0
Views: 14
Reply
RE: Force rollout width?

I know you can adjust the height of the rollouts when they are in a floater, but i’m not sure about the width. Myself I rarely use the RolloutFloater …

19 years ago
Forum
Reply
RE: Script needs recompilation every time?!

Something is clearly not defined where it should be. This is a very common problem when programmin maxScripts. Every function, rollout etc has to be …

19 years ago
Forum
Reply
RE: collision detection in maxscripting ?

It’s easy to benchmark things in Max. Just do something like this to benchmark the operation: benchStart=timestamp() for i=1 to 100000 do a…

19 years ago
Forum
Page 5 / 19