Hi
I'm pretty new to scripting and started to make a script which creates stands of a stadium.
Two questions have come up:
1) Is it possible to give an object a name directly after creating it? At the moment I do it like this for example:
Rectangle length: L2 width: W2 corner_radius: ra2 steps: s
$Rechteck01.name = "T2 Stand" (Rechteck is german for Rectangle)
The problem is when someone with the english version of 3ds max is using the script it doesnt work because there is no object with the name "Rechteck01", but one named "Rectangle01".
There must be a way to give the name directly after creating it?
2) Is about a GUI I made. Here is a screenshot: http://img706.imageshack.us/img706/2692/aaaail.jpg
I wonder if its possible that the groups "Tier 2" and "Tier 3" are only visible if the number of tiers is set to 2 or 3 respectively. I tried an if condition within the rollout, but didn't work.
Thanks in advance
weee
Marco Brunetta · 2010-02-15