Hi thanks,
but this code does not do it visually!
DIALOG SCRIPT:
I_PALETTE `Test`,3, 120
I_SECTION `Geometry`,0
I_ROW "Geometry",1
I_ROW `Length`
VALUES "WallLength" RANGE [0.1, 100]
I_INFIELD "WallLength" , DlgWidth, CurRow, CtrlWidth, CtrlHeight
PARAMETERS REF_X = WallLength
I_SECTION_END
3d SCRIPT:
id=1
HANDLE_ 0 , 0 , 0 , id , "REF_X" , 1
HANDLE_ REF_X , 0 , 0 , id , "REF_X" , 2
HANDLE_ -REF_X , 0 , 0 , id , "REF_X" , 3
BOX ref_x ,ref_y,ref_z
When I first run the code, I change the WallLength parameter and nothing is changed on screen with the box. But when I click and edit smart part, the value is changed numerically.Whatever value I change, nothing is changed on real object on screen, just a variable is changed.
If I change object with grip, again object is not compatible with numeric value. Something here is not working. I create very simple example where I just want to draw a box and change the value numerically and control it with one grip in x direction, but obviously it is a bug here or I do not see something.
Any help would be welcome.
Primoz
Short code snippet:
https://www.dropbox.com/s/xw7y7q4ot8x473d/Test.smt?dl=0