Jump to content
dollada06

Need help creating a dynamic block that has a variable array distance for a rectangle

Recommended Posts

dollada06

I am working on creating my first dynamic block. So up front I will apologize if this is a no brainer question.

 

What I need to accomplish is to have a rectangle that I can change the size of dynamically. That part I have figured out. Where I am getting tripped up is that I need to be able to array the rectangle, but have it add a slight gap between each of them. I would ideally like to have it set up where I can set my rectangle dimension as follows: (these are just my default values, they can change to anything)

 

Width = 6'

Height = 3'

Gap = .03125'

 

From there I could use the dynamic array and it would carry out the array with the gap I specify.

 

I can get the array to work with the default values I have entered in, but as soon as I change the Gap value then things get thrown out of whack. Any help would be greatly appreciated!

pvArray.dwg

Share this post


Link to post
Share on other sites
markwheeler303

Do you only need to array it vertically?

Having a variable array within a dynamic block is not a fuction AutoCAD supports yet.

 

There's a few different ways to tackle this. It would be easier to use the standard array command on a dynamic rectangle IMO

 

ill give it a crack see what I can come up with.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×