I want you to write a MaxScript function that get value from following a string…
- User
I want you to write a MaxScript function that get value from following a string (textbox) like: Height 30 Inches Width 77 Inches Depth 37 Inches
Here, get value of Depth as length, Width as width and Height as height of the box, and create box at 0, 0, 0 axis in top view. Name it "Overall_Dimension" Then, make it "display as box".
I want it UI based. Create a dialog box, where there is a textarea field where user paste like following value: Height 30 Inches Width 77 Inches Depth 37 Inches
And there is a button "Create Dimension Box" below it. When user click that button, then only the function should run. Also, if the values are not in the above mentioned format, then show error.
Also, when createBoxFromDimensions runs successfully, destroy DimensionDialog rollout.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.