
3dwannab
- 43 public contributions
- Member since
- Latest contribution Sep 2021
Modal set to true and dotNet controls causing crash
Forum topic
With this code, see at the very bottom. When the modal property of the dialog is set to true it crashes max and when it's set to false it doesn't. I believe this is something to do with the .NET buttons and the event handler. But it would…
4 commentsTabIndex - dotNet controls and native controls
Forum topic
Here is the code below where I have two native buttons and two dotNet controls. When you open this dialog up pressing tab should cycle through each button but it doesn't as they're two different types. Is there a way around this? To even…
1 commentHow to fit a rollout to a dotnet labels contents and show tabs correctly
Forum topic
My end goal here is to make a custom messagebox as I want to gain control over its position. I want to get two things figured out here. 1. How do I fit the dialog to the size of the contents like the attached maxscript messagebox.png for…
2 commentsCheck if the Listener Window is open
Forum topic
I've tried with UIAccessor but couldn't find a way to check if the Listener Window was open or not. I want to check its status and if it's not open before the execution of the script then upon closing the script it will close it again. I…
3 commentsCreate multiple global variables from an array
Forum topic
I had a situation where I needed to separate out each element of an array (in my case a Multi-dimensional array) to their own globals so I created a fn to do so. It can set the globals to undefined also. I made it work with any array type…
2 commentsGet the yaw and pitch of target lights and non-target lights ?
Forum topic
I was hoping to translate the values to yaw and pitch with no value for roll for lights that are rotated and target lights also (so the light to the lights target). I'm not having much luck and my dossing in maths class is now coming back…
0 commentsListView control - Error when pressing escape key with any mouse event enabled
Forum topic
I'm trying to find out the issue with mouse events in the listview dotnet control and pressing escape. At the bottom, is the code. If you block out all the on lv <eventname> 's, then there's no error. The only way to remove the error and…
7 commentsdotNet listview and checkboxes
Forum topic
This is a snippet of code where I want to control the checkboxes by multiple selections in the listview itself and hitting the checkbox (whether it is checked or not) to select / de-select them accordingly, trouble is when I do this it…
0 commentsUsing setMaxFileAssetMetadata but NOT sticking
Forum topic
Hi all, If I run the below code on a test file to search for a particular string in an array inside the metadata and collect the rest to a new array and then use setMaxFileAssetMetadata on the maxfile with the NewmetaArray it doesn't…
0 commentsPress Select All in SME.
Forum topic
In the SME menu, is there a way to press. Select>Select All Using: actionMan.executeAction 369891408 "40063" /* SME: Select All */ is not really what Im after as it requires the SME to be open. Basically the fn I want overall is to, select…
19 commentsuiAccessor.getWindowText hwnd not working
Forum topic
Hi, I'm trying two methods to press the default buttons of the 'V-Ray warning' dialog but neither are working. If I evaluate uiAccessor.getWindowText (dialogMonitorOps.getWindowHandle()) it returns undefined I know I can use this (But,…
6 commentsmessagebox position control
Forum topic
I assume with the majority of 3d people having a 2 monitor setup, I was wondering if it's possible to hook into the message box created and move it's position?
4 commentsget enabled state of actionMans
Forum topic
Under help for ActionMans it states here under is checked: http://help.autodesk.com/view/3DSMAX/2016/ENU/?guid=__files_GUID_D33B403… that: .isChecked : boolean : Read Contains the Checked state of the ActionItem as determined by its…
1 commenttheHold.Begin() not working with SME
Forum topic
I'm trying to grab any of the functions within a button like so: on btn_purgeSme pressed do ( if not theHold.Holding() then theHold.Begin() if querybox "Removes / Purges (in all SME views):\n\n\t- Materials\n\t- All Map types\n\t-…
0 commentsCollect all Materials in scenematerials subnum node
Forum topic
Hey, I was wondering if there's a less hard coded way of collecting all the materials that are wired into the scenematerials array such as multisubmaterial, blend, CoronaRaySwitchMtl, VRayBlendMtl and so on.. Each of these have different…
4 commentsCallback when SME is open and closed
Forum topic
I've got the callback for when SME is open from MSX help and I've tried to reverse engineer it to work when it's closed. I've never used dialogmonitorops or UIAccessor before so any help would be appreciated. Code I've got so far:…
5 commentsenum for Corona Renderer
Forum topic
I'm writing a script which involves using a post render callback that opens vfb+. Thing is if I fire up the interactive rendering it pops up using corona renderer. The developer answered: hi, can you try querying vfb_type property? Values…
0 commentsChange editable text for System.Windows.Forms.ComboBox
Forum topic
Hi, Does anyone know if its possible to change the dl.SelectedIndex = -1 to non editable text and the rest of the indexes to editable ones. I want 'Press 'Enter' to rename.mse' to be disabled and the rest to be editable text. if…
3 commentsSuggestions / help on Show Diffuse in Viewport Script
Forum topic
Hi. I 90% of the time name my maps in the diffuse slots with 'texmatnamehere_diffuse.ext' I've wrote a script below which collects the scene materials and then collects the mats with only '_diffuse' in the filename and then shows them…
2 commentsMaterials to Scene
Script
Straight forward script to load a directory of your choice or by recursively going through a single directory (be careful it doesn't go through too many as this will be slow to load) and loading up .mat files. From here the script will…
7 commentsCount materials of each loaded .mat file
Forum topic
This is probably very easy but what I want is to get an array of the number of materials inside a .mat file array. What I have so far is: --array of mat files mat = #("F:\\3dwannab Maps_Corona.mat", "F:\\3dwannab Set_Corona.mat",…
5 commentsSend arrays to exclusionListDlg() as a parameter
Forum topic
How do you get the exclusionListDlg() dialog populated with an array? See attached to where I'm referring. No where in MXS help does it show if this is possible. My blind attempt: exclusionListDlg().items = #(1,2,3)
4 commentsMaxscript Editor (Drag tabs in order, was working before)
Forum topic
I had this working before only I was changing a few settings in the options of the editor and now I can't drag the tabs into whatever order. I can't find that option now. Thanks.
0 commentsOpen-SaveAs Current Directory
Script
A simple but time saving script. Open-SaveAs_Current_Directory_v1.0_3dwannab version history --============================================================ Version 1.0 - 2015.09.21 - First Release. --================== Version 1.1 -…
2 comments