Dynamic Block scale only x value?

Dynamic Block scale only x value?

jamieq
Collaborator Collaborator
3,057 Views
8 Replies
Message 1 of 9

Dynamic Block scale only x value?

jamieq
Collaborator
Collaborator

I am trying to make a dynamic block with a scale action, but I only want to scale the x value. Effectively this would be like stretching on the X axis. However, the block is a rectangle with a global thickness. Stretching will achieve the correct size, but will not affect the thickness of the two sides. I was hoping I could scale just the x value so that if I scaled up 2x, the width would be double and the thickness of the two sides would also be double. Is this possible? I've so far tried using an XY parameter with a scale action set as an X scale type. That only scales the whole rectangle if I move the grip along the X axis, and not if I move along the Y axis. So not what I'm hoping to do. Help is appreciated!

0 Likes
3,058 Views
8 Replies
Replies (8)
Message 2 of 9

SeeMSixty7
Advisor
Advisor

Can you show what you are trying to accomplish with a drawing or some images? A before and after would be a great start.

 

Also have you just looked at changing the Xscale factor of the block to be what you want it to be?

 

Good luck

0 Likes
Message 3 of 9

Anonymous
Not applicable

Dear Mr. jamieq

 

I have created a screen cast for you..

 

Hope this could help you out

 

 

Regards

Di****h

0 Likes
Message 4 of 9

imadHabash
Mentor
Mentor

Hi, 

 

This is NOT what he asked for @jamieq wrote ( ....I was hoping I could scale just the x value so that if I scaled up 2x, the width would be double and the thickness of the two sides would also be double.

 

Regards,

Imad Habash

EESignature

0 Likes
Message 5 of 9

jamieq
Collaborator
Collaborator

Here is a screenshot of what I mean. This is the block I'm trying to recreate as a dynamic block. The original is actually two blocks, the box and the attribute (it's just the way the program we use works). I'm recreating it as one block. You can see the original box underneath in green. It has a Scale X value of 2, while my recreated block in white is stretched to match. The reason you can see green underneath is because the sides of the original box block have been scaled  to a value of 2, making them twice as thick as the top and bottom. This isn't the case with my stretched recreation. 

0 Likes
Message 6 of 9

jamieq
Collaborator
Collaborator

Thank you for the screencast. That's something I didn't know could be done. But I already know how to stretch in a dynamic block, as mentioned in the original post. 

0 Likes
Message 7 of 9

SeeMSixty7
Advisor
Advisor
I'm not a Dynamic block expert, but looking at the available tools. You might be able to use a stretch parameter, then apply a multiplier from that parameter to the thickness of your pline widths at the ends, but I believe you will have to cheat that part and actually use a pline that is running the same direction as the stretch command and wide as the height of the block, then you are basically scaling the length of the pline at the end to simulate a xscaled pline width. You would have to do the same for the angled ends as well, but It does seem plausible if the multiplier value look up feature works the way I think it works.
That may or may not help, but good luck
0 Likes
Message 8 of 9

pendean
Community Legend
Community Legend
There is a dedicated Dynamic Blocks forum here where you might get additional assistance http://forums.autodesk.com/t5/dynamic-blocks/bd-p/154
0 Likes
Message 9 of 9

Libbya
Mentor
Mentor

You could accomplish a result that was visually the same by using an associative solid hatch along with an inner and outer boundary.  With that, stretching/scaling in whichever direction you would like would be relatively easy.  

0 Likes