2005-06-06 08:08 PM
2005-06-06 08:24 PM
2005-06-06 09:12 PM
2005-06-06 09:14 PM
Jay wrote:I took those exact lines of code and pasted them into an object and created the two variables and they seem to work just fine. what exactly are you trying to do with this that isnt working?
In the Parameter Script of an object, I tried something similar to the following:
VALUES `Door_Type_Code` `DHG`, `S&R`, `F`, `NL`, `HG`, `FNL`
IF Door_Type_Code = `DHG` THEN
VALUES `Door_Hardware_Code` `1`, `2`, `3`
ELSE
VALUES `Door_Hardware_Code` `10`, `20`, `30`
ENDIF
This apparently fails because `Door_Hardware_Code` isn't initialized at this point. Is there any way to accomplish the task of setting possible values based on another parameter's current value?
2005-06-08 08:57 PM
2005-06-08 09:30 PM
MikeS wrote:I'd like to know more about this. What's slow about it? I use the Param script on the theory that the Master script gets read when any script is read, and so extra lines in there will be extra over and over, slowing the 2D and 3D scripts down. Crazy? Maybe DNC will chime in.
David Nicholson Cole recommends use the Master script whenever possible/appropriate - he advised me that the the Parameter script is 'too slow'!
2005-06-08 09:38 PM
James wrote:Also, what are the differences between the Master Script and the Parameter Script? Is there anything you can do in one that you cannot do in the other?MikeS wrote:I'd like to know more about this. What's slow about it? I use the Param script on the theory that the Master script gets read when any script is read, and so extra lines in there will be extra over and over, slowing the 2D and 3D scripts down. Crazy? Maybe DNC will chime in.
David Nicholson Cole recommends use the Master script whenever possible/appropriate - he advised me that the the Parameter script is 'too slow'!
2005-06-08 10:38 PM
2005-06-08 11:41 PM
Matthew wrote:PRECISELY!
the param script i believe is read only when a change has been detected or when the dialog box opened and closed. however the master script is read constantly. for all 2D and 3D.
2005-06-09 01:07 AM