Jump to content

Automatically generate a wire number table from the wiring diagram of the electrical terminal block


holife

Recommended Posts

Just like the picture below, I can get the cable number, circuit number, terminal number, gear information by myself. Is there any script that can help me? I don't know anything about scripts, thank you friends, I will upload the original CAD drawings

ADDD.jpg

B790E5S-D0201-83.dwg

Link to comment
Share on other sites

  • CADTutor changed the title to Automatically generate a wire number table from the wiring diagram of the electrical terminal block

Tricky since for example, some terminals will be empty, some with 1 wire, some 1 wire each side and some with 2 or more wires on a side, some terminal blocks could be 4 long, some could be 64 log - or whatever.

 

Quite a lot of variables that the LISP would have to consider, no doubt one of the experts on here could code it to build up a table automatically -  many hours later - and probably charge you as well.

 

What might be simper is the user selects each item of text used to create the table and then at the end of the routine create the table something like:

"Select Terminal Block Name: " .... user selection needed

Loop 1

"Select or enter Terminal Number"... user selection

"Select or enter Ferrule Number" .... user selection

"Select or enter Wire Number" ... user selection

"Select or enter Equipment Name" ... User Selection

"Create table / Select New Connection Option" .. user selection

... restart Loop 1 or create table as required

 

All of these texts can be stored as lists and the lists can make up a table. Since it is lists you can alter which order to select the data on the drawing as you want, might be that you create the table by cable, by terminal block or by equipment.

 

User selecting text is fairly easy with the entget commands - think it needs to be entget rather than selection set so that the user can specify what each text is from when it is selected,

  • Like 1
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...