
Michele71
Michele Marcelli
- 62 public contributions
- Member since
- Latest contribution Apr 2016
Rotate selected Face in polyobj
How Rotate selected Face in polyobj?? Honestly I can not ... I have this situation: Select a Source poly face of object Select a target poly face of same object Press button and the target face it's positioned in the same face/normal…
Forum topic
2 commentsGet name item definition (label) with a loop (for)
Hi all :) A my friend asked me if is possible get a name of a label and change the label string with a loop. I have try this code: rollout Test "test" width:100 height:200 ( label temp1 "hello1" label temp2 "hello2" on Test open do ( for…
Forum topic
6 commentsFind % tolerance from knotA knotB
Hi all :) I am here again to ask a question where I can not find solution :D I created a small script where I find and I select two vertices overlapping (I recognize that it is a bit spartan as it is written the code, but I could not do…
Forum topic
6 commentsisolate number from format string with quote ""
Hi all :) They are the last details of my script (Environment Lighting HDR Studio (MR) ) but now I've a problem that I can not solve... I want to enter parameters in rollut taking them from a txt file, but the info in file txt are written…
Forum topic
28 commentsRefresh object parameter (more info...)
hi all man and thanks for and thanks for the visit :) I have completed another script and I'm completing the final steps (debug and more options). Now it is a problem. The script provides for the creation of a obj plane "general" called…
Forum topic
20 commentsLoop more fast...
Hello everyone :) I have write a little script which allows me to detach and make an object the faces of a poly. The main part of Whole script is a string recovery from 3dsMaxScript: obj = selection[1] for p = polyop.getNumFaces obj to 1…
Forum topic
7 commentsbeginner DotNet : Resize the image button
Hi all :) After thinking and banged my head against the wall for hours, I ask a question like a true beginner in dotNet: How do I resize an image that fit with the button? I did this, but I'm sure it's wrong ... try (destroydialog :: t)…
Forum topic
5 commentsAnother problem with Image Button ....
Hi all Reading this question: http://www.scriptspot.com/forums/3ds-max/general-scripting/script-to-fin… I enjoyed exploring the script by creating an image reader with relevant information (to study a little MAXScript). All right, so the…
Forum topic
1 commentProblem with Plugin
Hi all :) I am creating a TextureMap plugin (replace Gradient Ramp)Below you can see my work. .... plugin textureMap DynamicWave name:"Dynamic Wave" classID:#(0x15d16131, 0x7020f847) extends:Gradient_Ramp replaceUI:true ( parameters main…
Forum topic
0 commentsHelp to Gizmo & Center modifier
Hi all My question is simple; I must fit the Gizmo and Center of any modifier with a pivot of object, but I can not do this. I tried like this: help = Point pos:[50,0,0] -- create help point p = Plane () -- create plane mod_bend =…
Forum topic
4 commentsLock axis in LookAt Constraint
Hello everyone! I wonder if there is a way to block the axes (x, y or z) in LookAt constraint using a script... In Script help of Max, I have not found anything, seen that LookAt lock axis is not contemplated... Any ideas? I can do this?…
Forum topic
0 commentsMore value Spinner in a Loop
Hello man! I have a curiosity: I have 3 spinner named Spinner1, Spinner2 and Spinner3 and they control three parameters. I have this loop (for example) for i in scenematerial do (temp = spinner[i].value print temp) it's possible "pass" the…
Forum topic
8 commentsOpen a rolluot in VRay (o MR)
Hi man :) I have a problem: It's possible to open a rollout in Vray (or MR) via script? WorkFlow: I can choose a Tab via script: tabbedDialogs.setCurrentPage #render #(1751678506, 713496119) -- Tab Setting Now, in Tab setting, I want open…
Forum topic
4 commentsCreate warning message for the rendering engine in use
Hi man :) I have write this quick code when I want change the engine renders... ( renderers.current = Default_Scanline_Renderer() print renderers.current as string messagebox "Chosen Scanline Render" title:"Michele71 Tools" beep:true )…
Forum topic
7 commentsSimplify the total of a calculation
Hello :) As title, my question is: How do I simplify the calculation of a total? (Believe me, they are 2 days that I slam my head against the wall!) I've create a script with more calculation, but I have to restrict the numbers of total in…
Forum topic
4 commentsHow can I write ONLY numbers in EditText? (no letters accepted)
Hi All man! :) My question is simple, but I can not find answer... :( How can I write ONLY numbers in EditText? In essence, I have to write only numbers and not letters... Situation: I write any numbers in editText and I've as result in…
Forum topic
7 commentsAdd Interations NURMS Subdivision with button
Hi all boys :) How create more or less iterations Nurms with button? I want to create two button on my toolbar that allows me to increase or decrease the interations NURMS Subdivision in editpoly. Now, with spinner I don't have problem...…
Forum topic
2 commentsSelect a specific number of faces from a known percentage in mode random
Hi All man :) I have create this script: (Create a plane with more subdivision and select it) try (destroydialog t) catch() Percentage = 100.0 ---define the initial percentage rollout t "Test" ( spinner sp "Rate = " range:[0,100,100]…
Forum topic
2 commentsRotate UVWMap gizmo a selection of object
Hello everyone :) How do I rotate the gizmo a modifier UVWMap in a selection of object? Scenario: I have 10 box and I apply to each a modifier UVWMap. I want rotate the gizmo UVWmap to each object of 90° (or other value) randomly pressing…
Forum topic
4 commentsHow to write MaxScript fractions math?
As the titke, how to write MaxScript fractions mathematics? es:
Forum topic
2 commentsHow create a Password for open a script?
How create a password to open an encrypted script? I tried to use "Encrypted Files" but I did not understand how... I want to implement my script "Create Encrypted Script" with the opportunity to enter a security password. Suggestions?…
Forum topic
4 commentsRender outputSize that fit the object
Hi man! :) How do I set the width and height measurements in rendering (setup) that fit a selected object in the top view? Situation: I have an object I create a freecamera in Top Viewport Renders the camera The image (vfb) must correspond…
Forum topic
12 commentsHow permanently save a text written in an EditText and added in a ListBox?
As written in the title, how permanently save a text written in an EditText and added in a ListBox? (when I reopen the rollout, the text written before is present in the listbox) Below is my example:…
Forum topic
15 commentsHow check material object
Hi The question is very simple: How do I understand the material applied to an object? I have a box with any type material (standard, Mentalray etc.) in viewport. Now I want analyze the box and find what type of material is applied. How to…
Forum topic
3 comments