2005-06-11 12:39 AM
2005-06-11 03:39 AM
2005-06-11 05:00 AM
LOCK "DCA_Deadbolt_Qty"(by the way - the single, double and back ticks around the parameter value all lock for me . . . .)
2005-06-13 08:43 AM
2005-06-13 09:21 PM
F. wrote:It was defined at the beginning of the Master Script.
Where does TypeChar come from?
F. wrote:Refer back to my first email. The line immediately preceeding the LOCK line works exactly as expected. The LOCK line is ignored. There are no other LOCK statement after this one, and there are no other LOCK statements in any other script.
Maybe TypeChar<>"D" in the moment PARAMETERS works in master and LOCK does not. In a later iteration of the master script, when LOCK would work, maybe TypeChar="D".
F. wrote:Yes, I tried it as the very last line in the Master Script and it worked just fine. The statement LOCK `DCA_Deadbolt_Qty` is only used in two other situations, both of which occur before the failing instance, and both of those function properly.
Have you tried
LOCK `DCA_Deadbolt_Qty`
without any dependance of another expression?
2005-06-14 08:47 AM
The line immediately preceeding the LOCK line works exactly as expected. The LOCK line is ignored.This I wanted to explain to you. There is no problem with the syntax of your LOCK command. I try it again. Would be easier in German.
LINE2 0,0,1,1 BLOCK 1,2,3Changing to the floor plan view first the master script is executed, then the 2D-Script. The line of the master will be visible, the block, of course, not. In the 3D-window the block, but not the line is visible.
IF doyouwant="yes" THEN LINE2 0,0,1,1 BLOCK 1,2,3 ENDIFWorks as well as the first example. Some more:
IF GLOB_CONTEXT=2 THEN doyouwant="yes" ELSE doyouwant="no" ! [... anycode] IF doyouwant="yes" THEN LINE2 0,0,1,1 BLOCK 1,2,3 ENDIFNow the block will not be visible anywhere, but the line in 2D.
2005-06-14 09:02 AM
IF GLOB_CONTEXT=2 THENBlock is visible in 2D, but not in 3D or settings dialog. And it is visible in case the BLOCK-command is after the PROJECT2-command. Do you see, what I mean?
PROJECT2 3,270,2
ROTx 45 : ROTy 45
BLOCK 1,2,3
ENDIF
2005-06-14 04:59 PM
2005-06-14 07:36 PM
2005-06-14 08:40 PM
Fmr wrote:I moved all the code that deals with PARAMETERS and LOCK to the Parameter Script -- no luck, it still misbehaves.
...the only solution which works every time is to have them in the Parameter Script and only there.