#sel_0 – no object are selected #sel_1 – only one object is selected #sel_2 – one or more objects are selected #poly – the selected object is Edi…
This is not your code, so you have to give us the hole script and my be we can help you.
Check the scriptspot thread.
In my code MeshSelect modifier does not select faces with matID =2. This line: faes = for f in 1 to meshFaceCount where (getFaceMatID obj f) == 2 col…
( if selection.count != 0 then ( max modify mode for obj in selection as array do ( select obj ms = (Mesh_Select ()) addModif…
( function SelectAndPaint = ( max select all — select all objects in the scene selection.wirecolor = red — change the wirecolor of the objects…
For your second question: Go to Customize-Customize User Interface and assign a hotkey to Paint Selection Region to turn on paint selection in max.
…and [color=Lime]isDirectoryWriteable is [/color]available only in 3ds Max 2010 and higher.
Or this(from RenderToTexture script): — check if directory specified as outputpath exist function ValidateDirectory _dirNameIn = ( local _di…
denisT, thank you very very much! Now is much easyer to achive what I want. Thank you.
Thanks, guys! Now I have to start fighting with dotnet stuff.
@lo is right. I want to create a bitmap that I will use for something like frame stamp. The “Info_strip” script do this, but I want to use the code fr…
denisT, thank you very much. Now I have to find a way to save the RichTextBox with colored text as a bitmap
I’m not very familiar with dotnet, so for me is not very easy. I think that these two lines create the new bitmap: overlayStrip.DrawString str dnFo…