miauu
@miauu
New Member
Joined: Feb 14, 2024
Topics: 122 / Replies: 1116
Reply
RE: Dynamic Spinner Value + Properties

The code from your previous post. The viewport radiobutton must be ON.

13 years ago
Forum
Reply
RE: Dynamic Spinner Value + Properties

Where is the problem? The type of the first spinner I set to type:#float, if it is #integer the value will be 17.

13 years ago
Forum
Reply
RE: Dynamic Spinner Value + Properties

Maybe you want this: rollout rol_ “” ( local cnt01 = 0 local cnt02 = 0.0 local cnt03 = 0.0 spinner spn_01 ” ” range:[0,100000,0] type:#integer s…

13 years ago
Forum
Reply
13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

Strange thing happens. When I use the 3ak formula , executed line by line, the result is: When I use the 3ak formula in the script the result is: …

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

Still have the same problem. I will do more tests tomorrow. Thank you.

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

I begin to think that Max is doing something wrong Here the result from 3ak formula: The objects intersects. With my trigonometric formula there are…

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

Thanks, 3ak! I will test this later. Denis, the script rotate the books, then placed it at the proper position.

13 years ago
Forum
Reply
RE: Calculating distance between angled objects – my trigonometry is not correct.?

Thanks, Denis! I need it only for 2D. But, when the code is in for loop(while … do also) the result is not what I want. The gaps between books is the…

13 years ago
Forum
Reply
RE: If object selected

if $ObjName.isSelected then …. else …..

13 years ago
Forum
Reply
RE: Array index and rollout slider?

First place the variables, then the rollout controls. There is no reason the sliders to not work. rollout SwordSmith “Swordsmith” width:260 height:80…

13 years ago
Forum
Reply
RE: Array index and rollout slider?

Why you have so many global variables? Global with name obj will definitely cause problems with other scripts. If only the script(rollout) use them – …

13 years ago
Forum
Reply
RE: Array index and rollout slider?

Post the code, but if you using if isValidNode sel do delete selin every slider’s event handler and the SEL is only one variable, the object will be d…

13 years ago
Forum
Reply
RE: Array index and rollout slider?

Search maxscript Help file for “Scope of Variables”. This is copy-paste: [left]Global variables are visible in all running MAXScript code and hold t…

13 years ago
Forum
Page 73 / 83