For making things easier with selecting cable's I was thinking of making a Cable database. Here the cables and cores are defined. Something like this:
Cables:
Cable Name | Diameter | Cable Gland | Number of Cores | Art Number | Other info
YmvK-Dca 2X1,5 | 9,1 | M20 | 2 | 170016 | ....
YmvK-Dca 3X1,5 | 10,2 | M20 | 3 | 170026 | ....
LIYY-JZ Dca 7G0,75| 7,3 | M16 | 7 | 172710 | ......
Cat6F/UTP Dca | 7,2 | M16 | 8 | 172402 | ......
Cores:
Cable Name | Core Id | Pair Id | Screen | Inner screen | number | color | cross section | AWG
YmvK-Dca 2X1,5 | 1 | | | | | bn | 1,5 |
YmvK-Dca 2X1,5 | 2 | | | | | bl | 1,5 |
YmvK-Dca 3X1,5 | 1 | | | | | bn | 1,5 |
YmvK-Dca 3X1,5 | 2 | | | | | bk | 1,5 |
YmvK-Dca 3X1,5 | 3 | | | | | gy | 1,5 |
LIYY-JZ Dca 7G0,75| 1 | | | | 1 | | 1,5 |
LIYY-JZ Dca 7G0,75| 2 | | | | 2 | | 1,5 |
LIYY-JZ Dca 7G0,75| 3 | | | | 3 | | 1,5 |
LIYY-JZ Dca 7G0,75| 4 | | | | 4 | | 1,5 |
LIYY-JZ Dca 7G0,75| 5 | | | | 5 | | 1,5 |
LIYY-JZ Dca 7G0,75| 6 | | | | 6 | | 1,5 |
LIYY-JZ Dca 7G0,75| 7 | | | | 7 | | 1,5 |
Cat6F/UTP Dca | 1 | 1 | sh | | 7 | wh/bl | | 23
Cat6F/UTP Dca | 2 | 1 | sh | | 7 | bl | | 23
Cat6F/UTP Dca | 3 | 2 | sh | | 7 | wh/og| | 23
Cat6F/UTP Dca | 4 | 2 | sh | | 7 | og | | 23
Cat6F/UTP Dca | 5 | 3 | sh | | 7 | wh/gn| | 23
Cat6F/UTP Dca | 6 | 3 | sh | | 7 | gn | | 23
Cat6F/UTP Dca | 7 | 4 | sh | | 7 | wh/bn| | 23
Cat6F/UTP Dca | 8 | 4 | sh | | 7 | bn | | 23
When running the script each first core with cable-label will be searched for to find all different cables. For each label (W1001, W1002 etc.) a cable can be chosen from the cable database. The connected cores to the first core symbol will be filled automatically with the correct label. The cable data will be inserted in each core symbol.
Does anyone have an available script for starting with these XML searches?
Post's attachments
1_diagram.png 68.35 kb, 781 downloads since 2018-04-24