Jump to content

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


dollada06

Recommended Posts

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

Link to comment
Share on other sites

  • 2 months later...

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.

Link to comment
Share on other sites

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...