2003-12-02 03:33 PM
2005-06-14 08:56 PM
2005-06-16 11:36 PM
2005-06-17 03:27 AM
Ignacio wrote:If you mean to adjust two length type parameters with one hotspot, then you need to script two separate hotspots that always coincide. It's a bit of a trick since they share X and Y parameters (the moveable value of one becomes the fixed value of the other). There is a (somewhat cryptic) example in the manual. If you can't get it to work, e-mail me and I'll find a scrap of code for an example.
How do I get to use the second parameter display text box in the moving hotspot? I can get it to show either the editable parameter or a display parameter but can't figure how to make it show both.
2005-06-17 04:09 AM
Red wrote:Can you please make your question clearer?
Ok!?!?!
What I'm trying to do is multiple (array) as many copies as I need of an 2D object by an interger parameter. Could someone take the following script below and show me how I can do this. Also each copy should have a movable (SMART) hotspot in the middle.
rect2 0,0,2',2'
Also can it multiple them 3' apart?
2005-06-17 08:27 AM
Matthew wrote:Ignacio wrote:If you mean to adjust two length type parameters with one hotspot, then you need to script two separate hotspots that always coincide.
How do I get to use the second parameter display text box in the moving hotspot?
2005-06-17 12:19 PM
! hsid is hotspot unique ID, increment at each line ! if you want to see the base spot delete "+128" HOTSPOT2 0, leny, hsid, lenx, 1+128 : hsid=hsid+1 !b HOTSPOT2 lenx, leny, hsid, lenx, 2 : hsid=hsid+1 !m HOTSPOT2 -1, leny, hsid, lenx, 3 : hsid=hsid+1 !r HOTSPOT2 lenx, 0, hsid, leny, 1+128 : hsid=hsid+1 !b HOTSPOT2 lenx, leny, hsid, leny, 2 : hsid=hsid+1 !m HOTSPOT2 lenx, -1, hsid, leny, 3 : hsid=hsid+1 !r• Graphical spots can only edit angle and length parameters, not integers or anything else. You can maybe trick them into editing integers through some clever conversion using GLOB_MODPAR_NAME depending on the situation.
2005-06-17 02:41 PM
James wrote:This HOTSPOT2 edits length but displays in the pop-up feedback field the correlative change in 'displayParam' as in
The only case where both fields in the popup box are used is the case of X & Y editing spots that coincide. [...] Graphical spots can only edit angle and length parameters, not integers or anything else.
2005-06-17 07:27 PM
LiHigh wrote:Red wrote:Can you please make your question clearer?
Ok!?!?!
What I'm trying to do is multiple (array) as many copies as I need of an 2D object by an interger parameter. Could someone take the following script below and show me how I can do this. Also each copy should have a movable (SMART) hotspot in the middle.
rect2 0,0,2',2'
Also can it multiple them 3' apart?
---Is the 2nd rectangle position relative to the 1st rect or the global origin?
---will the 2nd rectangle position affect the 3rd rect position?
---Is the spacings between rectangles uniform?
---and more.............