The IGameProperty is a wrapper for the ParamBlock system in MAX. So this way you can access to any property exposed through the param blocks. There a…
Good to know that!.
Of course. Before you compile, go to project properties and with “All Configurations” selected, change the directories for the options: “General ->…
Yeah, I tested that code in MAX8 and MAX9 using VS2005 and it does its job with no problems. So I have no idea what’s going on there. Have you tried w…
Here’s an example of how to get the width and height of a bitmap: Value *GetBitmapInfo_cf(Value **arg_list, int count) { check_arg_count(GetBitmapIn…
Hi. Have you attached bmm.lib to your project?.
Hi. Take a look to the website of Diego Garcia. He wrote an article about references and one of the functions he developed collected all the controll…
Hey Diego, gracias. That’s really weird!. If anybody has an explanation for this one… Thanks.
Hi. Try this: fn moveSelection translation = ( for obj in selection do ( if (isGroupHead obj) or not (isGroupMember obj) do ( move obj transla…
Hi. obj.transform — Transformation matrix obj.transform.row4 — Position obj.transform.rotationPart — Rotation obj.trans…
Well, something like this should be the solution to your problem: fn getLocalFaceBounds theObj theFace = ( local bigNum = 999999.9 local bbMin = [b…
The problem is that the vertices of the edge are retrieved in world-space and they need to be in local-space, just as the face normal is: fn alignUVG…
This macro already exists in MAX under “Tools” category (unfreeze by hit). Anyway it should be something like this: macroScript MyUnfreezeByHit cate…
Ok, I’ve just tried again and it works right. Keep in mind that in the line: float percent = ParamBlockMngr::GetFloat(node->GetTMController()->…