Tagged 'General Scripting'

Pre Render Note Track Cleaner

Hi all,

I've had the note tracks issue for a while and know how to clean it with this handy script

*****

t=trackviewnodes;n=t[#Max_MotionClip_Manager];deleteTrackViewController t n.controller
t=trackviewnodes;n=t[#Retimer_Manager];deleteTrackViewController t n.controller
t=trackviewnodes;n=t[#Anim_Layer_Control_Manager];deleteTrackViewController t n.controller

*****

String array in multilist box to object selection

Hi guys,
need a little help.

What i have going on in the script is as following.

1: select all the objects in the max file by select $*
2: i filter that selection by type il.e class of obj == pf source
3: store the same in a variable e.g A
4: copy the A.name to another variable B so i can use the same in multilistbox
5: create rollout and button to run other scripts.
6: Lists the selection properly
uptil here every thing is fine
7: now here's the problem the script from here onwards which was copied from

Merge

Hello,

I am a beginner with max script :)

I wonder if someone can help me or say whether it is a script that the subrair an object other automatic appear in the same place as an example design of a window or door...

Hello Artist Insplation Link

Cool!got recommend (❀╹◡╹)
by Hans
4:00~ https://vimeo.com/51813422
5:00~ https://vimeo.com/100010209

If select object then disable button

Hi all,

i'm looking for a way to disable a button when selected any object in scene and enabled with not selected too.

thanks for your help.

Edit Scripted Custom Attributes

Hi
Is there any way to edit or open a Scripted Custom Attributes creating by Maxscript.
when you add some slider spiner etc or Ui by max [Parameter Editor] it is editable in [Parameter Editor], but when you add custom ui it is not editable in [Parameter Editor].

Bobo's Speedometer Maxscript crashes in 3DS Max 2015

I've been successfully using Bobo's speedometer script since he first created it. Now, after upgrading to Max 2015, the script crashes Max EVERY TIME I run it!
Has anyone else had this problem?

multilistbox, scene objects

hi all im having trouble selecting objects with a multilistbox. ive manged to get the names of selected items as strings. what i want is the actual selected listbox objects to be added to an array. Any help would be great, a standard listbox is much easier lol

arr = cameras as array
listed = sort(for i in arr collect i.name)

rollout test "" width:162 height:243
(
multilistbox mylistbox "ListBox" pos:[19,25] width:122 height:9 items: listed

button del "del"
on del pressed do
(

--sets items names from bitarray to string array

Create a new button inside rollout

Hi everybody, I have a noob question here.
Can i create a new button inside of my rollout or group?
I need create a new button inside the same rollout when pressed other button. Can i make this?

This is my sample:

try (destroydialog :: prueba ) catch()
rollout prueba "Testing Buttons"
(
group "Buttons"
(

button bt1 "More+" across: 3
button bt2 "Remove-" enabled:false
button bt3 "New" visible:false

)
on bt1 pressed do(
bt3.visible=true
bt2.enabled=true
)
on bt2 pressed do(
bt3.visible=false
bt2.enabled=false
)
)

Nested Layers

Im new to scripting but does anyone know how to find or know the maxscript commands for nesting a layer in 3DS Max 2016? Also is there a way using MCG? I couldnt find any info on it for some reason.

Syndicate content