Automatic Source Arrow Code Generation

Automatic Source Arrow Code Generation

Anonymous
Not applicable
926 Views
4 Replies
Message 1 of 5

Automatic Source Arrow Code Generation

Anonymous
Not applicable

Can any one advise on an AutoLisp or something similar that automatically allocates a Source Arrow Code, when it is placed, as "[Location Code]_[Wire Number]_[Increment]"?

 

The Increment would be an integer (0) that would be incremented if that particular code is already in use within the active project.

 

Thanks, your help would be appreciated.

0 Likes
927 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

@Anonymous

 

Could you be more specific in your question? Attach an image or DWG?

 

 

 

 

 

Júnior Nogueira.

Por favor,  Aceitar como Solução se meu post te ajudar.

Please Accept as Solution if my post helps you.

0 Likes
Message 3 of 5

Anonymous
Not applicable

This isn't for anything particular, it would just allow me to be a bit faster on CAD.

 

The thought is that when I place a source arrow, and it requests a source arrow code, that the code is automatically generated based on the below:

 

[Location Code]_[Wire Number]_[Increment/Integer]

0 Likes
Message 4 of 5

Kent1Cooper
Consultant
Consultant

As a start, you can Search for routines that include incrementing of numbers, such as to place Blocks and increment the value of an Attribute each time.  You've said that about the last piece, but where are the [Location Code] and [Wire Number] parts coming from?  Is a "Source Arrow" a feature in an electrical-engineering overlay program, or just a generic term for something that would be made of ordinary AutoCAD objects?

Kent Cooper, AIA
0 Likes
Message 5 of 5

Anonymous
Not applicable

Hi Kent1Cooper,

 

A Source Arrow is an AutoCAD Electrical component where you can show a single wire leaving one page and reference it's destination as a Sheet number followed by a grid reference.

 

e.g. /002.G4 (Sheet number 002, grid reference G4)

 

The code I mentioned above allows you to tie up this source arrow with a destination arrow on the destination sheet that shows the same reference as shown in the example (only for the Source Arrow rather than the Destination Arrow).

 

The Location Code comes from the drawing properties of the individual sheet and the wire number is an attribute you allocate to a Wire on AutoCAD Electrical.

0 Likes