Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create Electric Single Line Diagram importing Excel file

13 REPLIES 13
Reply
Message 1 of 14
jtm2020hyo
2779 Views, 13 Replies

Create Electric Single Line Diagram importing Excel file

 
Is there a way to create a single line Electrical Diagram from an imported Excel file with LISP or similar?
13 REPLIES 13
Message 2 of 14
3wood
in reply to: jtm2020hyo

Can you upload "before" and "after" files so people can get more information about it?

Message 3 of 14
devitg
in reply to: jtm2020hyo

@jtm2020hyo . yes it is possible.

 

Give us , both xls , and dwg where and how to be done. 

Message 4 of 14
jtm2020hyo
in reply to: 3wood


@3wood wrote:

Can you upload "before" and "after" files so people can get more information about it?


 


@devitg  wrote:
@jtm2020hyo . yes it is possible.

Give us , both xls , and dwg where and how to be done. 


 

Good morning.

 

I will create the "before" and "after" in .xls and .dwg and I'll send the files to you in a few hours

 

 

 

 

 

 

 

 

 

 

 

 

 

Message 5 of 14
jtm2020hyo
in reply to: devitg

hello   @devitg  @3wood 

 

This took me the entire day, but finally, I did. In theory, should be possible to draw any Single line diagram. if anyone helps me with the lisp I might create a SLD template for everyone.

 

PD: attached files

 

 

imagen.pngimagen.pngimagen.pngimagen.pngimagen.png

 

related links:

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-electric-single-line-diagram-...

 

https://forums.autodesk.com/t5/revit-architecture-forum/create-electric-single-line-diagram-importin...

 

https://www.theswamp.org/index.php?topic=56014.0

 

 

 

 

 

 

 

Message 6 of 14
devitg
in reply to: jtm2020hyo

@jtm2020hyo . Please upload the sample.dwg 

Message 7 of 14
jtm2020hyo
in reply to: devitg


@devitg wrote:

@jtm2020hyo . Please upload the sample.dwg 


I did not notice that was not uploaded.

 

attached here.

Message 8 of 14
jtm2020hyo
in reply to: jtm2020hyo

... Any advance?   @3wood @devitg 

Message 9 of 14
3wood
in reply to: jtm2020hyo

The second example in your drawing seem different from the other  2.

The leftmost of the excel has 2 circuits but the drawing only has 1. Is it correct?

Capture.PNG

Message 10 of 14
devitg
in reply to: jtm2020hyo

@jtm2020hyo  I never , up now, could and can  guess what do you want to do . 

Message 11 of 14
jtm2020hyo
in reply to: 3wood


@3wood wrote:

The second example in your drawing seem different from the other  2.

The leftmost of the excel has 2 circuits but the drawing only has 1. Is it correct?

Capture.PNG


 

yes, you are completely right.

Message 12 of 14
jtm2020hyo
in reply to: jtm2020hyo

I was searching something like this:

 

description:

https://forums.autodesk.com/t5/autocad-architecture-forum/new-visio-data-visualizer/td-p/9620472

 

video:

https://www.youtube.com/watch?v=O2qWMFtyT3s

 

 

 

imagen.png

 

 

imagen.png

 

if someone was developing something similar maybe this add-in help. @devitg  @3wood 

 

Message 13 of 14
myra_parayno
in reply to: jtm2020hyo

How did you transfer the data from spreadsheet into the drawing in autocad?

Message 14 of 14
Sea-Haven
in reply to: myra_parayno

Yes you can GET and PUT cells from a excel spreadsheet, using Vlisp, likewise Excel can talk to Acad using a macro.

 

A good starting point is getexcel.lsp.

 

If you google you will find extensive answers to your question. If its a task you want start a new post as the request may have been already answered.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost