urbanista, i've taken a peak at your block which has a lot of issues...
first there are too many distance parameters when only four would be required...fist one is for the overall width (your "width"), the second one for the left bay ("distance 3"), the third is for the right bay ("distance 5") --no need for one in the middle bay as the other two would take care of it, and the fourth for the frame depth ("frame width" --depth?)...
now regaridng you actions...you can apply more then one action per parameter so there was no need to create a second linear parameter (called "distance") to create a move parameter for the glass...you could have create a "move" action and associated it to the "frame width"...
now this can become a lengthly tutorial trying to explain how to improve your block...however, even at the risk of doing the work for you, i've decided to modify your block with the below explanations...hopefully you can study and understand what i've done for future reference....so here we go...
-------
"width"...
i've edited the stretch action to include the complete end of you window...all that was missing there was to include the glass with the stretch and "distance 5" (see below)..."distance 5" needs to be included so that the endpoint/grip will follow the "width"/"stretch 1"...
----------
"distance 3"...
the "stretch 2" action had no objects associate to it...i redefine the stretch frame to only include the glass and the mullion...do not add the int/ext magenta frame lines as the "stretch" will move them and add to the "stretch 1" causing the line to extend past the end (which is similar to your original problem w/ your block--right?)...
now, i also turned on 1 grip for "distance 3" so a grip will be available to stretch the mullion...
-------
"distance 5"
i had to recreate the linear parameter by drawing it from right to left so that the "1 grip" would appear on the left side for stretching...once that was done i needed to include this paraneter as part of the stretch action for the overall width so when you alter the width "distance 5" will alter with it...
to associate it with "stretch 1" double click on it to get
Specify first corner of stretch frame or [CPolygon]: and hit the escape key because we do not need to change the CP..so the next line is
select object to add to action set or [Remove]:...i typee add (just to make sure) and select "distance 5" and hit enter...
next is to alter "stretch 4" CP area and the objects it needs to include--much like for "stretch 2"...you need to only add the glass, the vertical frame elements and "stretch 5" parameter...
-----------------
"frame width"
i deleted the original "distance/move" because you can assign another action to the "frame width" parameter...so i create a new move action, selected "frame width" and picked the glass objects...and as you have correctly done so previously, the distance multiplier was set to 0.5...
to the "frame width" i changed the number of grips to 1 so we can change the frame depth on screen...
-----
i closed the block editor and tested the block...all seems fine!..
i hope this response can help you/others out...if you have any difficulties or further question by all mean keep posting here...
hm




Reply With Quote


just thought to spread some joy...
...
Bookmarks