scorpion007
@scorpion007
New Member
Joined: Feb 14, 2024
Topics: 29 / Replies: 137
Reply
RE: SDK: Resizing IRollupPanels

You generally shouldn’t be playing with the width of individual panels, as the rollup window maintains a list of panels, that should hopefully be of t…

17 years ago
Forum
Reply
17 years ago
Forum
Reply
RE: SDK: Rollout Panel issues

had a quick look, it’s because you’re not calling IRollupWindow::Show(). The rollups are hidden by default, IIRC. (Probably so you can add a bunch wit…

17 years ago
Forum
Reply
RE: SDK: Rollout Panel issues

Sounds fishy. Did it show the scrollbar before you made the change? Could you post your dialog procedure for the rollup panel, and DoLayout()’s code,…

17 years ago
Forum
Reply
RE: SDK: Rollout Panel issues

Ah, I think I know what the problem is – you haven’t set any content for your CUI frame. You’ve told it to show a custom window (HWND), but haven’t t…

17 years ago
Forum
Reply
RE: SDK: Rollout Panel issues

Can you paste the source to IDD_TEMPLATE? (In the .rc file) I’m guessing either your window is created invisible, or the window creation is failing s…

17 years ago
Forum
Reply
RE: Control the perspective viewport?

Which release are you using? I think it’s been there since at least Max 6-7 or so, maybe earlier.

17 years ago
Forum
Reply
RE: Control the perspective viewport?

You can manipulate the viewport’s transform using viewport.GetTM() and SetTM(). You can make use of the existing matrix functions to change the rotat…

17 years ago
Forum
Reply
RE: MaxScript Exceptions

Ah, very informative. I see now that I should not underestimate the importance of maintaining a correct validity interval in my own code. Very creati…

17 years ago
Forum
Reply
RE: MaxScript Exceptions

Ah, an interesting tip Bobo! Thanks, didn’t know about the implicit SuperClassID and its hidden performance price. I don’t believe that’s the same for…

17 years ago
Forum
Reply
RE: MaxScript Exceptions

Hi, happy new year to you too You can filter objects based on their class ID, using something like a switch statement. ( classOfObj = cla…

17 years ago
Forum
Reply
RE: Can I open a file from mxs ???

Use max file open openfile opens a data file for manipulation.

17 years ago
Forum
Reply
RE: How to define variable based on an array?

Perhaps you could post your actual problem, so we can suggest an alternative on how to solve it.

17 years ago
Forum
Reply
RE: If Nothing is selected

If nothing is selected, $ returns undefined. So you can test for ‘undefined’ and not do anything in that case. if $ != undefined do ( /* your code */…

17 years ago
Forum
Reply
RE: Script to assist users in exchanging materials

Had a look at that thread, can’t reproduce your problems. Works for me. Despite the fact that you shouldn’t hardcode absolute paths into your dos com…

17 years ago
Forum
Page 3 / 12