Jump to content

Dynamic block with incrementing number


Recommended Posts

Posted (edited)

Hello all,

 

I'm trying to make a dynamic block for my electric terminals.

I'm using the array fuction for this.

Could someone help me with the number of the terminal?

I can't find a way to have it incresing properly.

I tried with a field, and attribute.

Is there a way to get the array repeat value, and have it dropped in an attribute?

 

here's the block:

DYNTERM.dwg

 

thx,

 

SB

Edited by Sittingbull
forgot the file
Posted

I haven't found a way either. I do is have a field that is a formula that I move as you stretch the terminals and have that field display the total number of terminals. It MAY be possible to do something similar by arraying the attribute but I have never tried.

Posted

You'd think it's possible with a formula field as you could easily divide by the distance of the array. But due to ACad's method of creating attributes (i.e. not really part of the block, but outside linked objects instead) this calculation won't work correctly. The work-around is to place the attributes into a secondary block, then place that block to be arrayed in the DB.

Posted

Indeed Irneb,

 

I made something like that not to long ago. But it's based on distance and insertion point.

I tried to edit it but i can't get the field properties back up?

Here 's the block: measurement.dwg

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