Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: Maxscript – Update/Replace trimesh data in Editable Poly and Edit_Poly modifier?

I’m just too lazy to dive into cpp to prototype something, so yeah turns out I’m a fan of c# sdk. I hope AD won’t make c# deprecated too fast.

4 years ago
Forum
Reply
RE: Maxscript – Update/Replace trimesh data in Editable Poly and Edit_Poly modifier?

You can append some trimesh to poly mesh using c# sdk. with redraw off ( g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance — make a de…

4 years ago
Forum
Reply
RE: Create masks from layer

You can probably use #preRender and #postRender callbacks to add and remove these temporary elements, but I failed to make it work. It seems like rend…

4 years ago
Forum
Reply
RE: Create masks from layer

Mugga: … but instead use the gbuffer from max. Step 1. Assign g-buffer IDs to layer nodes for i = 0 to LayerManager.count-1 do ( local layer_no…

4 years ago
Forum
Reply
RE: Get 3DMAX installation path

you can do it using environment variables, but is skips some older max versions ( ev = (dotnetclass “system.environment”).GetEnvironmentVariables() …

4 years ago
Forum
Reply
RE: Maxscript Unable to Turn On Vray Shadow on Standard Lights

delete objects gc() max modify mode f = FreeSpot shadowgenerator:(VRayShadow()) castShadows:true isSelected:true for i = 1 to 5 do ( f.baseobject….

4 years ago
Forum
Reply
RE: getVert precision

Point3 stored as three float values.

4 years ago
Forum
Reply
RE: Resolving the file path of a Macroscript, or resolving filename from an opened script in Script Editor

Haider_of_Sweden: Or do you mean scanning the #usermacros folder Knowing the category and macro name it shouldn’t be a problem. But there’s a bet…

4 years ago
Forum
Reply
RE: Resolving the file path of a Macroscript, or resolving filename from an opened script in Script Editor

I’d look in this folder getdir #usermacros (dotNetClass “Autodesk.Max.GlobalInterface”).Instance.TheMxsEditorInterface.EditorGetDocumentFilename_ …

4 years ago
Forum
Reply
RE: Get Internet time

did you try to google maxscript internet time ?

4 years ago
Forum
Reply
4 years ago
Forum
Reply
RE: Auto update script

Too little information. How are you going to check that the new version is available? Parsing script homepage or sending requests to your server? Is y…

4 years ago
Forum
Topic
Forum
Replies: 0
Views: 9
Reply
RE: Help Making Corona Mask element from 3dsmax scene layers!

Imagine that you have two objects using the same G-Buffer channel but located in different layers. What layer name should be used now in render elemen…

5 years ago
Forum
Reply
RE: Collect all settings from Renderdialog Common tab

If you want to collect them just to restore them later on use holdMaxFile() & fetchMaxFile()

5 years ago
Forum
Page 36 / 84