kredka
Piotr
- 31 public contributions
- Member since
- Latest contribution Jul 2020
negative paint skin weights value
Forum topic
I write simple tool that help me to skin and I need access to change paint skin weight strength value. It work when value is positive, however I also need to set negative value in order to add and remove skin values from vertices. When I…
0 commentscount edges on selected faces
Forum topic
Can anybody help whit this one, I already tried with polyop.getEdgeFaces,getEdgesByFlag, but I can`t figure this out.
2 commentsdisconnecting all assets
Forum topic
I tough it supposed to be pretty easy but I can't figure this out. Is there any way to disconnect all scene assets - files(existing, not existing,network just all of them)? I tried do that by ATSOps but it seems there is no such thing like…
0 commentsassociate number with item in array and take highest
Forum topic
I have I guess very stupid problem to solve and I'm out of ideas so I would be grateful for help. I have array with filenames. it look like this:…
1 commentShow Menu bar
Forum topic
I'm looking for a way to check if Main menu bar is active, if it`s hidden then show it. I could do it by : actionMan.executeAction 0 "411" -- Tools: Show Main Toolbar Toggle" by this only change state and not make menubar always active. I…
0 commentsmissing uvw - how to get rid of this ?
Forum topic
Is there some way to check which objects have missing uvw and then fix it. There is tons of "missing uvw" topics but lead nowhere. After I checked all scripts which supposed to detect and fix "missing uvw" I found not even one works. Often…
0 commentsdotnet transparency
Forum topic
I have small question. I want to create transparent dotnet elements like buttons(text inside button should be visible and background color should be transparent), labels etc on the background of bitmap and I noticed in spite of button…
6 commentsCounting unused materials
Forum topic
Is it way to count unused material in scene. By unused I mean materials which are not attached to any object on scene. I tried this: for i = 1 to 24 where not MeditUtilities.isMaterialInUse meditMaterials[i] collect meditMaterials[i] but…
0 commentsReduce key cause max got crazy
Forum topic
I found strange behavior of max when I perform operation to reduce keys on objects. When I fire up this: for o in selection do ( reduceKeys o.transform.controller 3.0 1f ) max blink and close all maxscript windows in spite of I disabled…
2 commentsdelete binded but not active spacewarps
Forum topic
Is there way to delete spacewarps in selection which are binded to object but their modyfier(when spacewarp is binded to object this object have modyfier) on object in stack is off ?
0 commentsKredka Strikes Back "Controllers"
Forum topic
I'm back:) Before I start writing 500 lines of code I have question about controllers to ask. I search for this in help/net, no idea how to do it. I have to do 2 operations 1) check for particular controller in objects selection like: for…
15 commentsselect geometry with any kind of mesh
Forum topic
I exhausted all possibilities after one day I'm out of ideas how to solve it, here is my problem: I have to count all polygones in selection so I have to get to every object with mesh and here is a problem. I noticed 3dsmax…
11 commentsFinding and removing biped collection by maxscript
Forum topic
I'm looking for a way to detect if there is any biped collection in selection and remove it - so two separate actions. Is there any way to achieve it, I found only this but no idea how to use it, not mentioning about detection:…
3 commentsactivating button in script from script
Forum topic
I have smpile problem but none of my ideas won't work. How to activate button(make it execute) in my rollout by another buttion. Bellow example, btn6 should activate btn5, I already try with .checked=true, state=true, enabled= true but it…
3 commentsexport selected via maxscript
Forum topic
super simple question but I have no idea and don't found anything in max help. I want export to obj selected objects from scene to file for specified name.Is it possible at all via maxscript? The only thing I found is:…
4 commentsNew\Keep Objects - no prompt
Forum topic
I'm looking for function which will do actionMan.executeAction 0 "17" -- File: New Scene, Keep Objects but without asking for save, I already tried: actionMan.executeAction 0 "17" #noprompt and if checkForSave() do (…
5 commentshow go to
Forum topic
I know is's most stupid question but I went by 80% of my code without this but now I need it and I can't found anything in maxhelp nor net. How to jump to certain piece of code(for instance by marker) like this: ...... ......…
1 commentHelp needed , read string.
Forum topic
I work on script which will check object list and found "filed" word then get number of this object. txt file look like this(there will be nothing else except this.) "start" 1 "Torus001" "success" 2 "Box001" "success" 3 "Torus002"…
0 commentsCopy file A to B
Forum topic
I try to copy file from place A to place B, I tough it should be dead easy like copy from "c:/temp/my.text" to "d:/temp/my.text" but it's not so easy. I have to copy 3dsmax.ini file, first check where it is(is usually under user/appdata…
11 commentsRemove not binded space warps
Forum topic
I try to find and delete space warps which are not binded to any objects. I was searching in ma-xhelp however I haven't seen anything about how to get spacewarps - bind-unbind properties. Maybe someone know how to detect it ad remove. The…
5 commentscount load maxscene time
Forum topic
I'm struggle with script that will save all objects in selection one by one as max file with this same name and check - count loading time for each of object. Is it possible to do something like this? Please help. it should look like this:…
0 commentsreplacing modyfier
Forum topic
Hello everybody. I have some skin isue and I have to refresh turbosmooth on many scenes with many characters so I want automatise it - refresh turbosmooth. How to replace modyfier Turbosmooth on this same modyfier: Script should look like…
9 commentscounting objects in selection
Forum topic
I have super simple question to ask. How to count objects in selection and use this number as variable outside the loop, in random place of my code (wherever I want) for e. for t=0 to .... ( count my object t= number of my object ) ....…
2 commentsextra controllers on objects - need help
Forum topic
I almost finished my tool however this problem gives me hard time and no answer. I have to check on group of objects if any of them contain any other then standard controllers on size,move,size - x,y,z axises(different then bezier float,…
0 comments