Lisp to create wiring loop (arc) between selected blocks

Lisp to create wiring loop (arc) between selected blocks

Anonymous
Not applicable
1,845 Views
4 Replies
Message 1 of 5

Lisp to create wiring loop (arc) between selected blocks

Anonymous
Not applicable
I need a lisp that can create a wiring loop (arc) between selected lighting blocks. Please help
0 Likes
1,846 Views
4 Replies
Replies (4)
Message 2 of 5

Kent1Cooper
Consultant
Consultant

Not enough information.  Do a Search [there are things here already, for instance, or probably on any number of other sites], but if you don't find anything that does what you want:

 

Between any number of selected Blocks [I assume not just between 2, but your (arc) in the singular could be interpreted that way]?  What are the Blocks like, and to where on them should the arc/loop/whatever connect?  Do you want to actually "select" the Blocks [in AutoCAD's meaning of that word], or do you want to Object-Snap to some place on them within the process of drawing the loop?  A series of Arcs, or a Polyline of arc segments?  Including connection to a switch at one end [or more]?  Etc., etc.  A sample image or drawing would go a long way.

Kent Cooper, AIA
0 Likes
Message 3 of 5

Anonymous
Not applicable
Thanks for your reply Kent. A series of arcs. For example , i want to loop 10 light fittings( blocks or circles) together. Loop from center point of block to next block center point. Is it possible to add such loops when i select those ten blocks, with a provision to adjust the arc radius? Please help
0 Likes
Message 4 of 5

stevor
Collaborator
Collaborator
A nice clear image of an example would help.
S
0 Likes
Message 5 of 5

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:
.... A series of arcs. For example , i want to loop 10 light fittings( blocks or circles) together. Loop from center point of block to next block center point. Is it possible to add such loops when i select those ten blocks, with a provision to adjust the arc radius? ....
....

Another thing I did a while back that you could try [linked to in Post 11 of the thread I posted a "for instance" link to before] is the WA command [that stands for Wiring Arcs] here.  It wants you to pick on the Blocks in series [not all at once -- figuring out the order to loop through them could be very challenging], and it snaps to their insertion points.  They need to be Blocks, so if you have circular fixture symbols, they should also be Blocks, not Circle entities.  You can decide the degree of bulge in the arcs that you want [see instructions in the code], but it uses the same one for each Arc.

Kent Cooper, AIA