MarcoBrunetta
@marcobrunetta
New Member
Joined: Feb 15, 2024
Topics: 14 / Replies: 255
Reply
RE: Got a question regarding need of skill

Well besides these forums, I’d try

15 years ago
Forum
Reply
RE: Got a question regarding need of skill

Sounds like it wouldn’t be a particularly hard script for someone with at least a moderate knowledge of maxscript. However if you’ve never used MXS, t…

15 years ago
Forum
Reply
RE: syntax for flipping a boolean setting?

You can easily use NOT to flip a boolean value. So if you have: ( local someVar = true someVar = NOT someVar –Will set the var to false some…

15 years ago
Forum
Reply
RE: Adding image to listView's subItems

Well, that’s one option, but it depends on what you are trying to do. Maybe doing something like using a flowlayoutpanel that you can fill with your o…

15 years ago
Forum
Reply
RE: Adding image to listView's subItems

AFAIK, with the standard listview, you can’t add images to the subitems, just one per row.

15 years ago
Forum
Reply
RE: Round a Value

You can use “Ceil” and “Floor” to get the nearest whole numbers to a given float.

15 years ago
Forum
Reply
RE: Can DotNet screen cap part of the screen?

img=(dotNetObject “System.Drawing.Bitmap” 100 100) gfx=(DotNetClass “system.drawing.Graphics”).fromImage img screenCap=gfx.CopyFromScreen 0 0 0 0 (dot…

15 years ago
Forum
Reply
RE: Can DotNet screen cap part of the screen?

Sure, I’ll give it a try myself when I get some free time, shouldn’t be too hard.

15 years ago
Forum
Reply
RE: Can DotNet screen cap part of the screen?

(DotNetClass “system.drawing.Graphics”).CopyFromScreen seems to be the key There’s a simple code sample in C# here:

15 years ago
Forum
Reply
RE: Can DotNet screen cap part of the screen?

Yhea probably, I was just suggestion a possible course of action if you couldn’t make that work. However I still think you should check all other pos…

15 years ago
Forum
Reply
RE: Can DotNet screen cap part of the screen?

Well I’m guessing worst case scenario, you could just capture the whole screen and crop the part you want, but it’s not a very clean solution. Is the …

15 years ago
Forum
Reply
RE: Adding UI elements after rollout is created?

AFAIK, you can add controls to a windows form created with .NET, and some .NET controls have a “controls” property that let you add other controls to …

15 years ago
Forum
Reply
RE: Get current function name

I’m not sure why you’d want that. Isn’t it easier to just keep the format statement inside someFunction1 or someFunction2? Or just having the function…

15 years ago
Forum
Reply
RE: Object space to Monitor space.

Great minds think alike

15 years ago
Forum
Reply
RE: Object space to Monitor space.

Why not? All you need to do is subtract mouse.pos from mouse.position and then add the result you get to the viewport coordinates to “translate” them …

15 years ago
Forum
Page 2 / 18