miauu
@miauu
New Member
Joined: Feb 14, 2024
Topics: 122 / Replies: 1116
Reply
RE: How to load button image already when open script

You can use it with dotnet controls or you can use it with 3dsMax controls.

4 years ago
Forum
Reply
RE: How to load button image already when open script

There is a tool from LoneRobot which converts bitmaps to dotnet base64 strings. Use it to crate base64 strings of your images. Then load all images wh…

4 years ago
Forum
Reply
RE: Batch file import creates new layers

I don’t know. Finish your script and post the Import part here.

4 years ago
Forum
Reply
RE: Batch file import creates new layers

Something like this: ( filesToImportArr = #(filePath1, filePath2, filePath3) for f in filesToImportArr do ( importFile f fileName = getFilen…

4 years ago
Forum
Reply
RE: How to get the value of Vraylight

What about: lightl=$LIGHT_01 print lightl.sizeLength print lightl.affect_reflections and so on.

4 years ago
Forum
Reply
RE: Undo and polyop.CreatePolygon

theHold.Begin() — all your code to create polygons. NO Undo On/Off. for i = 1 to PolyArray.count-1 do ( polyop.CreatePolygon oPoly PolyArray[i] …

4 years ago
Forum
Reply
RE: Undo and polyop.CreatePolygon

Have you tried with the theHold.Begin(), theHold.Accept() ?

4 years ago
Forum
Reply
RE: [SOLVED] Rename layer by selected objects

( for o in selection do ( o.layer.setname o.name ) )

4 years ago
Forum
Reply
RE: RayIntersect without an actual mesh

How the Max to know the bounds of your face only by knowing the face center and face normal? The ray may hit the face near any of its edges.

4 years ago
Forum
Topic
Reply
RE: Flatten selected verticles in Editable Mesh

( sel= getvertselection $ for i in sel do ( pos = getvert $ i setvert $ i [pos.x,pos.y,0] ) update $ )

4 years ago
Forum
Reply
RE: How to find inner contour of an object?

I can check tomorrow evening.

4 years ago
Forum
Reply
Reply
RE: How to find inner contour of an object?

I’ve sent you a new scene. With my code it also crashes max unless I put everything after the functions into the with undo off(). From what I fount th…

4 years ago
Forum
Page 11 / 83