Jump to content

Scale a dynamic block on the x and y axis independently of each other


Recommended Posts

Posted

Hi, Hoping you can help me out, I don't come to you lightly, been tearing my hair out trying to figure out how to do this.

 

 

I would like to have a 2D window as a dynamic block, so when it is inserted in a drawing it can be scaled on the x axis only, or on the y axis only. Stretch just distorts the window. The majority of windows in a house will often all be a uniform height, but the width will vary.

 

I know you can set the scale independently for x and y when inserting a block, but this doesn't really help as working out the scale is just too hard!

 

I have attached a picture of the window.

 

 

Any pointers would be appreciated.

:)

Window.dwg

Posted

Yes, width will vary but only by certain increments. Can't those increments be built into the dynamic block you are creating?

Posted

In what way does stretch distort the window?

 

You need to add a distance parameter that you can restrain to a number of set widths defined by a list. You can then add multiple stretches linked to this. Typically I would stretch the end first at 100% and with another stretch action (or a move action) adjust the cetre at a 50% rate.

Posted

Thanks for the replies appreciate it, but being fairly new to cad I am obviously not explaining myself very well.

 

I do plans for loft conversions and extensions, at the moment I draw every window and door in elevation view individually, this is time consuming and because of this makes for less detail in the window/door. I simply don't have the time to draw nice doors and windows.

 

So the answer would seem to be a dynamic block of a window that can be stretched/scaled to size.

The size of the window doesn't matter, the frame, transom and mullion, etc, size will always be the same. The frame does not get bigger as the window gets bigger, the frame remains a constant width. So having a block with a scale attribute doesn't work, stretch doesn't work either.

 

I would happily buy a set of blocks with these capabilities, but I can't find any for sale. Besides if I can work out to make my own, then they will be exactly as I want them.

 

Any ideas or pointers appreciated....

Posted

So in reality these are custom windows and not units one can order directly from any given manufacturer?

 

Post #1: width will vary

 

Post #5: frame remains a constant width

 

You comments seem to be at odds with each other.

Posted
So in reality these are custom windows and not units one can order directly from any given manufacturer?

 

Post #1: width will vary

 

Post #5: frame remains a constant width

 

You comments seem to be at odds with each other.

 

I'm having an 'epic fail' at explaing myself:lol:

 

Yes all the windows are custom sizes.

 

The width and height of the window will vary, but the frame sections that make up the window will remain the same size, regardless of the size of the window.

 

I got a feeling this could be a rather complex dynamic block, unless there is a way to use the scale attribute on the x axis, independently of the y axis and vice versa.

Posted

It's not the dimensions of the frame section I'm concerned about. As you point out, they don't change. But the height and width of the window can be controlled to some extent by using typical increments found in just about any window manufacturer's catalog. Don't tell us you're going to have 45 windows and each one is not only going to be a different size but they aren't even going to follow the more-or-less typical sizes most contractors deal with. That just seems unusual. Pity the poor customer when he/she gets the bill for those windows.

Posted
It's not the dimensions of the frame section I'm concerned about. As you point out, they don't change. But the height and width of the window can be controlled to some extent by using typical increments found in just about any window manufacturer's catalog. Don't tell us you're going to have 45 windows and each one is not only going to be a different size but they aren't even going to follow the more-or-less typical sizes most contractors deal with. That just seems unusual. Pity the poor customer when he/she gets the bill for those windows.

 

No not just 45 windows, but thousands and thousands of different windows!!!

 

The existing windows in a house can and often are all different, then they vary from house to house. Then these all vary from the windows going in the new extension. This is normal!!!!!

 

I could really use a dynamic block that can cope with this!

Posted

I'm sure you'll rise to the challenge of creating a dynamic block that will meet all your criteria. Good luck in your endeavor.

Posted

Ok thank you.

 

If I get it done will come back and post it up for others to use.

 

:)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...