Add stretch functionality to width of the window + centering glass pane

Add stretch functionality to width of the window + centering glass pane

Anonymous
Not applicable
591 Views
6 Replies
Message 1 of 7

Add stretch functionality to width of the window + centering glass pane

Anonymous
Not applicable

Hello there,

 

I am new to Autocad Dynamic Blocks. 

I need to know how to make adjustments to the width of the window, for e.g., make it 8" wide instead of the original 4.5" width, and have the glass pane centered? Do I have to add another parameter to the block to make it work this way? 

I have attached my window block here.

0 Likes
592 Views
6 Replies
Replies (6)
Message 2 of 7

Libbya
Mentor
Mentor

The following screencast should help.

 

 

0 Likes
Message 3 of 7

Anonymous
Not applicable

Thanks 

 

0 Likes
Message 4 of 7

Anonymous
Not applicable

Unfortunately, This screencast did not help me at all, I tried multiple times using different files, making a new file etc. 

Is there a way to post a screencast along with voiceover? It is hard to see from just the mute video exactly what is happening. 

If not that, is it possible to post a written step-by-step solution to my issue? 

 

0 Likes
Message 5 of 7

Anonymous
Not applicable

Attaching the last file I tried this on

0 Likes
Message 6 of 7

Libbya
Mentor
Mentor

Always place the basepoint parameter at the 0,0 point within the block.  Previously you had the 0,0 point at the corner so I put the basepoint parameter there.  Now you moved it to the center, so the basepoint parameter should go there.  The center makes more sense to me.  The chained point move for the basepoint is good practice to eliminate the 'basepoint bug'.  There is more info on that in other threads.

 

You need to pay attention to which linear parameter endpoint you select to associate with a given action.  You had the vertical move action associated with the startpoint of the vertical linear parameter.  That endpoint doesn't even have a grip so the move action would never be activated, ever.  

 

You also need to understand the rules of stretch windows and selection sets.  You need the stretch window to surround the vertices you want stretched and not to surround the vertices you do not want stretched.  If an object is in the selection set of a stretch action and either all or none of its vertices are surrounded by the stretch window, then it will be moved rather than stretched.  

 

I never used any angle offsets in the screencast I previously posted so I'm not sure why you used the 180° angle offset in the one action, if you were trying to follow the screencast.  

 

The screencast shows every single action taken.  Pause often and pay attention to the command line as well.  Report back if you get stuck or need further explanation.    

Screencast will be displayed here after you click Post.

108aa41e-d9fd-47c5-bded-85caf0a88e09

 

0 Likes
Message 7 of 7

Libbya
Mentor
Mentor

Screencast didn't post...

 

 

0 Likes