Jump to content

Dynamic Block stretch and array


LaneClare

Recommended Posts

Hi. In the attached dwg, I have a dynamic block "Platform" which is used several times. I have an adjustable length, with the array set to repeat the toggles (end view of 2x4) every 2', not including the last 6". That works perfectly, except one thing. "Distance1" is the distance of the parameter, because this was the only way that I found to stop the array from showing up within 6" of the last toggle. When I insert "Platform," and click the arrow to stretch it, I can type in the distance desired minus 6", and I'll get the correct length of platform. However, I'd like to be able to type in the actual length, and have the array work appropriately (the same way it does now).

 

Then, I'd like to create a custom toolbar that has a button to click which will insert this platform and ask me what the length of the platform should be (the entire distance). After specifying an insertion point, the block will insert at the correct length, with the appropriate toggles.

 

Here's what I'd like to do with it: using datalink, I'd like to count the following: how many copies of each length of platform is in the drawing, with toggle count and length of platform specified. I have already figured out the datalink to get the value of "Distance1", it's only the issue with the toggle count that I'm trying to figure out.

 

I understand that this is a tall order. If someone could help me along the right path to figuring this out, that'd be great. Thanks!

File002.dwg

Edited by LaneClare
More information, correction on block name
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...