SyncViewS
@syncviews
New Member
Joined: Feb 14, 2024
Topics: 20 / Replies: 280
Reply
RE: Packaging/defining functions in a Struct?

Hi Atle, it is safe to say the least in global scope, the best. Anyway, before packing your functions into a Struct, you should consider that function…

15 years ago
Forum
Reply
RE: How to get some face which have two Smoothing Groups at least?

Hi Tina, here is a code to collect faces in an Editable Poly object which have more than one smoothing group assigned. ( function intToBitArray i…

15 years ago
Forum
Reply
RE: button <name> ?

Hi Paolo, you can create an anonymous button then assign a tag to it on rollout open, or any other event you like, using the button.caption property. …

15 years ago
Forum
Reply
RE: Set Position with Script Controller and LOCAL axis

Hi Marcus, try this: camera.pos – ([0,50,0] * (camera.transform.rotationPart)) where [0,50,0] is the shift from camera (shouldn’t it be in Z? like […

15 years ago
Forum
Reply
RE: 2 problems with Viewport Redraw Callback Mechanism

Hi Pat, you cannot see the text in viewport because the method you’re using (gw.text) draws text in 3D space taking into account Z-Buffer, and it actu…

15 years ago
Forum
Reply
RE: Calculate face normal

Lesson learnt Bobo, anyway the case you’re presenting is what we can call the “return inside the function”, and for sure it could require a C++ except…

15 years ago
Forum
Reply
RE: Calculate face normal

Well, the “return” issue seems to be a false myth, at least in recent Max versions. I don’t have a clue about what was happening in older ones. It see…

15 years ago
Forum
Reply
RE: Calculate face normal

Hi Paul, here is a small function that might be of help. It returns a transform matrix centerd in the three points average position, oriented with Z a…

15 years ago
Forum
Reply
RE: version number max9

I’m sorry you got it that way, like trying to mark your post, or acting cool. I was just adding a little bit of information. Enrico

15 years ago
Forum
Reply
RE: version number max9

3ds Max 9 with Extension 1 Productivity Booster installed has version number 9500. Enrico

15 years ago
Forum
Reply
RE: Moving Editpoly Faces in Local Space?

Hi Jared, in your code there are a couple of issues. The first is you don’t need to disturb matrices to perform a normal shift, because you already go…

16 years ago
Forum
Reply
RE: Painter interface "End paint session" doesn't work?

Hi Rorschach, as you stated thePainterInterface.endPaintSession() releases the painting 3ds Command Mode, but it doesn’t call the “systemEnd” function…

16 years ago
Forum
Reply
RE: Maxscript auto-select convex edges

Hi Steve, I just edited previous code. It is a little improved version (avoids memory leaks, thanks to Denis Trofimov). Enrico

16 years ago
Forum
Reply
RE: Maxscript auto-select convex edges

Hi Steve, here it is. Evaluate it and you’ll get a rollout with a button to select convex edges in Editable Poly objects. It works on face selections …

16 years ago
Forum
Reply
RE: Autocomplete code in Maxscript editor POSSIBLE!!!

Hi guys, some time ago I collected all keywords form MaxScript 2009 Reference in a textfile to make a synthax highlighter for PSPad, the editor I stil…

16 years ago
Forum
Page 11 / 20