Hallo ihr alle
Nach 7 Jahren Recherche habe ich es geschafft, nach Bundles zu sortieren. Ich danke übrigens dem Visiativ-Support und Solidworks Electrical. Es hat bei mir trotz einer guten SQL-Abfrage eine Weile gedauert, weil die Elemente gut " aufgeräumt " sein müssen. Ich bin unter
Infolgedessen:
- Nach Unterstandort (Bundle-Parameter verschwindet)
- Alle Artikel befinden sich am selben Speicherort wie der Standort des Pakets.
- Aktivieren Sie " Eine Nomenklatur pro Bundle " (ändern Sie die SQL-Abfrage vorher)
- Die SQL-Abfrage:
SELECT DISTINCT
vew_cable_ex.cab_tag AS cab_tag
, vew_cable_ex.cab_id AS cab_id
, vew_cable_ex.cab_tra_0_l1 AS cab_tra_0_l1
, vew_cable_ex.vcablocfrom_loc_id AS vcablocfrom_loc_id
, vew_cable_ex.vcablocfrom_loc_text AS vcablocfrom_loc_text
, vew_cable_ex.vcablocfrom_tra_0_l1 AS vcablocfrom_tra_0_l1
, vew_cable_ex.vcablocfrom_loc_tagpath AS vcablocfrom_loc_tagpath
, vew_cable_ex.vcablocto_loc_id AS vcablocto_loc_id
, vew_cable_ex.vcablocto_loc_text AS vcablocto_loc_text
, vew_cable_ex.vcablocto_tra_0_l1 AS vcablocto_tra_0_l1
, vew_cable_ex.vcablocto_loc_tagpath AS vcablocto_loc_tagpath
, vew_cable_ex.cab_length AS cab_length
, vew_cable_ex.cab_reference AS cab_reference
, vew_cable_ex.cab_manufacturer AS cab_manufacturer
, vew_cable_ex.cab_tagroot AS cab_tagroot
, vew_cable_ex.cab_tagorderno AS cab_tagorderno
, vew_cable_ex.cab_hasneutral AS cab_hasneutral
, vew_cable_ex.cab_hasground AS cab_hasground
, vew_cable_ex.cab_gauge AS cab_gauge
, vew_cable_ex.cab_section AS cab_section
, vew_cable_ex.cab_wirecount AS cab_wirecount
, vew_cable_ex.cab_ductpath AS cab_ductpath
, vew_cable_ex.cab_diameter AS cab_diameter
, vew_cable_ex.cab_family AS cab_family
, vew_cable_ex.cab_articlename AS cab_articlename
, vew_cable_ex.cab_swfromcomp AS cab_swfromcomp
, vew_cable_ex.cab_swtocomp AS cab_swtocomp
, vew_cable_ex.cab_tra_1_l1 AS cab_tra_1_l1
, vew_cable_ex.cab_tra_2_l1 AS cab_tra_2_l1
, vew_cable_ex.cab_tra_0_l2 AS cab_tra_0_l2
, vew_cable_ex.cab_tra_1_l2 AS cab_tra_1_l2
, vew_cable_ex.cab_tra_2_l2 AS cab_tra_2_l2
, vew_cable_ex.cab_tra_0_l3 AS cab_tra_0_l3
, vew_cable_ex.cab_tra_1_l3 AS cab_tra_1_l3
, vew_cable_ex.cab_tra_2_l3 AS cab_tra_2_l3
, vew_cable_ex.cab_use_data0 AS cab_use_data0
, vew_cable_ex.cab_use_data1 AS cab_use_data1
, vew_cable_ex.cab_use_data2 AS cab_use_data2
, tew_bundle.bun_id AS bun_id
, tew_bundle.bun_defaultlocid AS bun_defaultlocid
FROM
vew_cable_ex
LEFT JOIN tew_bundle ON tew_bundle.bun_defaultlocid=vew_cable_ex.vcablocfrom_loc_id
WHERE bun_id =%CUR_BUNDLE_ID%
Beim ersten Mal hat es nicht geklappt, man muss das Projekt mehrmals überprüfen. Folios löschen und dann neu generieren. Zögern Sie nicht, die Kabel mit einer Konstruktionsregel zu überprüfen.
Los geht's, in der Hoffnung, dass einige von ihnen freigeschaltet werden.