Hide Table of Contents
SOLIDWORKS Electrical API 2025.0.0
Electrical API
EwProjectWireObjects.idl
Go to the documentation of this file.
1#pragma once
2
3#if (__midl >= 501)
4 midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
5#endif
6
7import "oaidl.idl";
8import "ocidl.idl";
9import "EnumDefinition.idl";
10import "EwObjectBaseObjects.idl";
11import "EwProjectCableObjects.idl";
12
17[
18 object,
19 uuid(61f18da4-03bd-11e5-8418-1697f925ec7b),
20 dual,
21 oleautomation,
22 nonextensible,
23 helpstring("IEwProjectWireX Interface"),
24 pointer_default(unique)
25]
27{
38 EwErrorCode setUserData (LONG nUserDataNumber, BSTR strValue);
39
40
51 BSTR getUserData (LONG nUserDataNumber, EwErrorCode* errorCode);
52
53
62 BSTR getTag (EwErrorCode* errorCode);
63
64
75 EwErrorCode setTag (BSTR strValue);
76
77
86 BSTR getTagRoot (EwErrorCode* errorCode);
87
88
99 EwErrorCode setTagRoot (BSTR strValue);
100
101
111
112
123
124
133 long getTagNumber (EwErrorCode* errorCode);
134
135
148
149
159
160
169 VARIANT_BOOL isTagUnique (EwErrorCode* errorCode);
170
171
172 /*
173 * Set the wire length value.
174 * \return EwErrorCode enum type, can be:
175 * \li EW_UNDEFINED_ERROR if another error occurred
176 * \li EW_INVALID_OBJECT if current object is invalid
177 * \li EW_NO_ERROR if no error detected
178 */
179 EwErrorCode setLength (DOUBLE dLength);
180
181
189 BSTR getLinearMass (EwErrorCode* errorCode);
190
191
200 EwErrorCode setLinearMass (BSTR strLinearMass);
201
202
216 EwErrorCode setHarnessID (long lHarnessID);
217
218
229 LONG getHarnessID (EwErrorCode* errorCode);
230
231
241 DOUBLE getLength (EwErrorCode* errorCode);
242
243
253 EwErrorCode setDiameter (DOUBLE dValue);
254
255
265 DOUBLE getDiameter (EwErrorCode* errorCode);
266
267
278
279
290
291
302
303
314
315
325 EwErrorCode setSignal (BSTR strValue);
326
327
337 BSTR getSignal (EwErrorCode* errorCode);
338
339
349 BSTR getColorCode (EwErrorCode* errorCode);
350
351
361 EwErrorCode setColorCode (BSTR strColorCode);
362
363
375 EwErrorCode setBendRadiusFactor (DOUBLE dBendRadiusFactor);
376
377
387 DOUBLE getBendRadiusFactor (EwErrorCode* errorCode);
388
389
399 EwErrorCode setBendRadius (DOUBLE dBendRadius);
400
401
410 DOUBLE getBendRadius (EwErrorCode* errorCode);
411
412
413
423 BSTR getPath (EwErrorCode* errorCode);
424
425
435 LONG getWireStyleID (EwErrorCode* errorCode);
436
437
447 BSTR getEquipotential (EwErrorCode* errorCode);
448
449
460
461
471 LONG getCableID (EwErrorCode* errorCode);
472
473
483 BSTR getOrigin (EwErrorCode* errorCode);
484
485
495 BSTR getDestination (EwErrorCode* errorCode);
496
497
508
509
524 LONG getComponentID (EwWireExtremityType eWireExtremityType, EwErrorCode* errorCode);
525
526
538
539
551
552
567 LONG getComponentCircuitID (EwWireExtremityType eWireExtremityType, EwErrorCode* errorCode);
568
569
581
582
594
595
610 LONG getComponentTerminalNumber (EwWireExtremityType eWireExtremityType, EwErrorCode* errorCode);
611
612
624
625
637
638
648 VARIANT_BOOL getIsFixedLength (EwErrorCode* errorCode);
649
650
660 EwErrorCode setIsFixedLength (VARIANT_BOOL bIsFixedLength);
661
662};
663
668[
669 object,
670 uuid(FC6A488D-6EA7-4800-9035-2F7F4FEA6E61),
671 dual,
672 nonextensible,
673 pointer_default(unique)
674]
675interface IEwProjectWireManagerX : IDispatch
676{
686
687
693 VARIANT getEwProjectWireArray (EwErrorCode* errorCode);
694
695
705
706};
707
712[
713 object,
714 uuid(80ca293e-1620-4b13-a6af-7cb1b076cbc3),
715 dual,
716 oleautomation,
717 nonextensible,
718 helpstring("IEwProjectWireStyleBase Interface"),
719 pointer_default(unique)
720]
722{
732 BSTR getName (EwErrorCode* errorCode);
733
734
745 EwErrorCode setName (BSTR strName);
746
747
757 BSTR getWireColorName (EwErrorCode* errorCode);
758
759
769 EwErrorCode setWireColorName (BSTR strWireColorName);
770
771
782 EwErrorCode setLineWidth (double dLineWidth);
783
784
794 double getLineWidth (EwErrorCode* errorCode);
795
796
807 EwErrorCode setColor (long lColor);
808
809
819 long getColor (EwErrorCode* errorCode);
820
821
831 EwErrorCode setEwProjectCableXByID (long lEwProjectCableID);
832
833
844
845
856
857
871 EwErrorCode setTranslatedData (LONG nUserDataNumber, BSTR strLanguage, BSTR strValue);
872
873
887 BSTR getTranslatedData (LONG nUserDataNumber, BSTR strLanguage, EwErrorCode* errorCode);
888
889
902 BSTR getDescription (BSTR strLanguage, EwErrorCode* errorCode);
903
904
919 EwErrorCode setDescription (BSTR strLanguage, BSTR strDescription);
920
921};
922
923
928[
929 object,
930 uuid(9e6cf696-9d07-4dba-87e9-79c9f3f08b27),
931 dual,
932 oleautomation,
933 nonextensible,
934 helpstring("IEwProjectWireStyleX Interface"),
935 pointer_default(unique)
936]
945 BSTR getLinearMass (EwErrorCode* errorCode);
946
947
956 EwErrorCode setLinearMass (BSTR strLinearMass);
957
958
967 EwErrorCode setDispSchema (BSTR strDispSchema);
968
969
978 BSTR getDispSchema (EwErrorCode* errorCode);
979
980
989 BSTR getTension (EwErrorCode* errorCode);
990
991
1000 EwErrorCode setTension (BSTR strTension);
1001
1002
1011 BSTR getFrequence (EwErrorCode* errorCode);
1012
1013
1022 EwErrorCode setFrequence (BSTR strFrequence);
1023
1024
1034
1035
1045 EwErrorCode setWireSectionGauge (BSTR strWireSectionGauge);
1046
1047
1057
1058
1067 EwErrorCode setEquipTagFormula (BSTR strEquipTagFormula);
1068
1069
1079
1080
1089 EwErrorCode setWireTagFormula (BSTR strWireTagFormula);
1090
1091
1100 LONG getNumberID (EwErrorCode* errorCode);
1101
1102
1112 EwErrorCode setNumberID (LONG lNumberID);
1113
1114
1124 EwErrorCode setBendRadius (DOUBLE dBendRadius);
1125
1126
1135 DOUBLE getBendRadius (EwErrorCode* errorCode);
1136
1137
1146 BSTR getDispTerminal (EwErrorCode* errorCode);
1147
1148
1157 EwErrorCode setDispTerminal (BSTR strDispTerminal);
1158
1159
1168 BSTR getDispWiring (EwErrorCode* errorCode);
1169
1170
1179 EwErrorCode setDispWiring (BSTR strDispWiring);
1180
1181
1190 LONG getOrderNo (EwErrorCode* errorCode);
1191
1192
1201 EwErrorCode setOrderNo (LONG lOrderNo);
1202
1203
1221
1222
1240
1241
1250 EwErrorCode setPropagate (VARIANT_BOOL bPropagate);
1251
1252
1261 VARIANT_BOOL getPropagate (EwErrorCode* errorCode);
1262
1263
1274 EwErrorCode setCableDiameter (double dDiameter);
1275
1276
1285 double getCableDiameter (EwErrorCode* errorCode);
1286
1287
1301
1302
1316
1317}
1318
1323[
1324 object,
1325 uuid(a5a637e3-6c9a-4d93-ac49-fb4d7280e414),
1326 dual,
1327 oleautomation,
1328 nonextensible,
1329 helpstring("IEwProjectWireStyleSynopticX Interface"),
1330 pointer_default(unique)
1331]
1333{
1334}
1335
1336
1341[
1342 object,
1343 uuid(942eb12a-9425-4ee1-8bad-0f805b242005),
1344 dual,
1345 oleautomation,
1346 nonextensible,
1347 helpstring("IEwProjectWireStyleGroupX Interface"),
1348 pointer_default(unique)
1349]
1351{
1360 LONG getNumber (EwErrorCode* errorCode);
1361
1362
1373 EwErrorCode setNumber (LONG lNumberID);
1374
1375
1388
1389
1402
1403
1420
1421
1438
1439
1448 EwErrorCode setActive (VARIANT_BOOL bActive);
1449
1450
1459 VARIANT_BOOL getActive (EwErrorCode* errorCode);
1460
1461
1470 EwErrorCode setStartOrderNo (LONG lStartOrderNo);
1471
1472
1481 LONG getStartOrderNo (EwErrorCode* errorCode);
1482
1483
1496 EwErrorCode setTranslatedData (LONG nUserDataNumber, BSTR strLanguage, BSTR strValue);
1497
1498
1511 BSTR getTranslatedData (LONG nUserDataNumber, BSTR strLanguage, EwErrorCode* errorCode);
1512
1513
1526 BSTR getDescription (BSTR strLanguage, EwErrorCode* errorCode);
1527
1528
1543 EwErrorCode setDescription (BSTR strLanguage, BSTR strDescription);
1544
1545};
1546
1551[
1552 object,
1553 uuid(5f38b4b5-93ca-41fb-bd8f-eb2646d9c6d4),
1554 dual,
1555 nonextensible,
1556 pointer_default(unique)
1557]
1558interface IEwProjectWireStyleManagerX : IDispatch
1559{
1569
1570
1580
1581
1592
1593
1603
1604
1614
1615
1625
1626
1637
1638
1649
1650
1662
1663}
1664
1670[
1671 object,
1672 uuid(1f2021e6-79b4-43e2-b486-2636b283e892),
1673 dual,
1674 nonextensible,
1675 pointer_default(unique)
1676]
1678{
1692
1693
1702 LONG getWireStyleID (EwErrorCode* errorCode);
1703
1704
1714 EwErrorCode setWireStyleID (LONG lWireStyleID);
1715
1716
1725 long getFileID (EwErrorCode* errorCode);
1726
1727
1736 LONG getMeshID (EwErrorCode* errorCode);
1737
1738
1748
1749
1759
1760
1770
1771
1781
1782
1792
1793
1803
1804
1813 BSTR getWireMarkText (EwErrorCode* errorCode);
1814
1815
1824 LONG getCableLabelID (EwErrorCode* errorCode);
1825
1826
1836
1837
1846 long getWireLabelID (EwErrorCode* errorCode);
1847
1848
1863
1864
1879
1880
1890
1891
1901
1902
1912
1913
1923
1924
1934
1935
1944 EwErrorCode setEndPointXPosition (double dXCoordinate);
1945
1946
1956
1957
1966 EwErrorCode setEndPointYPosition (double dYCoordinate);
1967
1968
1982
1983
1998
1999
2010 EwErrorCode setWireStyleSynopticID (LONG lWireStyleSynopticID);
2011
2012};
2013
2018[
2019 object,
2020 uuid(73ee2402-2be1-47a4-8a5d-ced028c486e6),
2021 dual,
2022 nonextensible,
2023 pointer_default(unique)
2024]
2025interface IEwProjectLineManagerX : IDispatch
2026{
2038
2039
2050
2051
2062 VARIANT getEwProjectLineArrayFromFileID (LONG lID, EwErrorCode* errorCode);
2063
2064
2065};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwWireExtremityType
Extremity type of wires and cables.
Definition: EwEnumeration.idl:1573
EwLineExtremityTypes
Extremity types indicate the values transmitted through the line.
Definition: EwEnumeration.idl:1559
EwNodalIndicatorType
Nodal indicator type.
Definition: EwEnumeration.idl:1531
EwComputeOrderNumberType
Enumeration of the short order in equipotentiel.
Definition: EwEnumeration.idl:1467
EwTagUnicityType
Tag unicity of wire style.
Definition: EwEnumeration.idl:1480
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:821
EwLineType
Electrical line types.
Definition: EwEnumeration.idl:1519
EwWireSizeStandard
Wire size standard type.
Definition: EwEnumeration.idl:656
EwPhaseType
Conductor type of a wire style.
Definition: EwEnumeration.idl:1499
EwLineAssociatedType
Enum of the types of wire the line is associated to.
Definition: EwEnumeration.idl:1545
This interface is a generic interface for standard object methods.
Definition: EwObjectBaseObjects.idl:97
This interface is a generic interface to define the coordinate of a 2D point.
Definition: EwUtilDefinition.idl:27
Use this interface to manage a cable inside a project.
Definition: EwProjectCableObjects.idl:26
Use this interface to manage EwProjectLineX objects Since 2024 SP1.
Definition: EwProjectWireObjects.idl:2026
VARIANT getEwProjectLineArray(EwErrorCode *errorCode)
Get an array of all the EwProjectLineX inserted in the project.
IEwProjectLineX findEwProjectLineByID(LONG lLineID, EwErrorCode *errorCode)
Find the EwProjectLineX associated to the ID.
VARIANT getEwProjectLineArrayFromFileID(LONG lID, EwErrorCode *errorCode)
Get an array of all the EwProjectLineX inserted in the associated File ID.
Use this interface to manage Line inside a project To create a new Line, use the object EwProjectFile...
Definition: EwProjectWireObjects.idl:1678
long getWireLabelID(EwErrorCode *errorCode)
Get the ID of the wire label.
EwErrorCode setWireStyleID(LONG lWireStyleID)
Set the ID of the line wire style of the current object.
EwNodalIndicatorType getStartNodalIndicatorType(EwErrorCode *errorCode)
Get the starting Nodal Indicator Type of the current object.
long getFileID(EwErrorCode *errorCode)
Get the File ID associated to the current object.
double getStartPointXPosition(EwErrorCode *errorCode)
Get the starting point X axis position of the line.
EwErrorCode setWireStyleSynopticID(LONG lWireStyleSynopticID)
Set the ID of the line wire style of the current object.
LONG getWireStyleID(EwErrorCode *errorCode)
Get the ID of the line wire style of the current object.
double getStartPointYPosition(EwErrorCode *errorCode)
Get the starting point Y axis position of the line.
IEwPointX getStartPointPosition(EwErrorCode *errorCode)
Get the starting point of the line.
long getEquipotentialLabelID(EwErrorCode *errorCode)
Get the eqiupotential label ID.
EwErrorCode setStartPointYPosition(double dYCoordinate)
Set the starting point Y axis position of the line.
EwNodalIndicatorType getEndNodalIndicatorType(EwErrorCode *errorCode)
Get the ending Nodal Indicator Type of the current object.
LONG getEquipotentialID(EwErrorCode *errorCode)
Get the Equipotential ID of the current object.
IEwPointX getEndPointPosition(EwErrorCode *errorCode)
Get the ending point of the line.
EwErrorCode setEndPointPosition(IEwPointX *oEndPoint)
Set the ending point of the line.
double getEndPointXPosition(EwErrorCode *errorCode)
Get the ending point X axis position of the line.
double getEndPointYPosition(EwErrorCode *errorCode)
Get the ending point Y axis position of the line.
EwLineExtremityTypes getExtremityTypes(EwErrorCode *errorCode)
Get the extremity types of this line.
EwErrorCode setStartPointPosition(IEwPointX *oStartPointX)
Set the starting point of the line.
BSTR getCableCoreText(EwErrorCode *errorCode)
Get the cable wire text.
BSTR getWireMarkText(EwErrorCode *errorCode)
Get a string of the wire mark text associated to the current object.
EwErrorCode setStartPointXPosition(double dXCoordinate)
Set the starting point X axis position of the line.
EwLineAssociatedType getAssociatedType(EwErrorCode *errorCode)
Get the associated wire type of this line.
LONG getCableLabelID(EwErrorCode *errorCode)
Get the cable label ID.
EwErrorCode setEndPointYPosition(double dYCoordinate)
Set the ending point Y axis position of the line.
EwErrorCode setEndPointXPosition(double dXCoordinate)
Set the ending point X axis position of the line.
EwLineType getEwLineType(EwErrorCode *errorCode)
Get the line type of the current object.
LONG getMeshID(EwErrorCode *errorCode)
Get the Mesh ID associated to the current object.
Use this interface to manage IEwProjectWireX objects.
Definition: EwProjectWireObjects.idl:676
IEwProjectWireX newEwProjectWire(EwErrorCode *errorCode)
Create an interface for a new wire in the current project.
VARIANT getEwProjectWireArray(EwErrorCode *errorCode)
Get all the wires in the project of the manager.
IEwProjectWireX findEwProjectWireByID(LONG lWireID, EwErrorCode *errorCode)
Find a wire in the project with the target ID.
Use this interface to manage Wire Style inside a project.
Definition: EwProjectWireObjects.idl:722
EwErrorCode setWireColorName(BSTR strWireColorName)
Set the wire color name of the current object.
EwErrorCode setLineWidth(double dLineWidth)
Set the line width of the current object.
IEwProjectCableX getEwProjectCableX(EwErrorCode *errorCode)
Get the EwProjectCableX of the current object.
long getEwProjectCableXByID(EwErrorCode *errorCode)
Get the ID of EwProjectCableX in the current object.
BSTR getWireColorName(EwErrorCode *errorCode)
Get the wire color name of the current object.
long getColor(EwErrorCode *errorCode)
Get the color of the current object.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwErrorCode setColor(long lColor)
Set the color of the current object.
BSTR getName(EwErrorCode *errorCode)
Get the name of the current object.
BSTR getDescription(BSTR strLanguage, EwErrorCode *errorCode)
Get the description associated to the object.
EwErrorCode setName(BSTR strName)
Set the name of the current object.
double getLineWidth(EwErrorCode *errorCode)
Get the line width of the current object.
EwErrorCode setDescription(BSTR strLanguage, BSTR strDescription)
Set the description associated to the object.
EwErrorCode setEwProjectCableXByID(long lEwProjectCableID)
Set EwProjectCableX by ID in the current object.
Use this interface to manage Wire Style Group inside a project.
Definition: EwProjectWireObjects.idl:1351
EwComputeOrderNumberType getEwComputeOrderNumberType(EwErrorCode *errorCode)
Get the compute order number type of the current object.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwTagUnicityType getEwTagUnicityType(EwErrorCode *errorCode)
Get the tag unicity type of the current object.
LONG getStartOrderNo(EwErrorCode *errorCode)
Get the start order no of the current object.
BSTR getDescription(BSTR strLanguage, EwErrorCode *errorCode)
Get the description associated to the object.
EwErrorCode setStartOrderNo(LONG lStartOrderNo)
Set the start order no of the current object.
VARIANT_BOOL getActive(EwErrorCode *errorCode)
Get the activate state of wire style group.
LONG getNumber(EwErrorCode *errorCode)
Get the identifier(numberID) of the current object.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
EwErrorCode setDescription(BSTR strLanguage, BSTR strDescription)
Set the description associated to the object.
EwErrorCode setActive(VARIANT_BOOL bActive)
Set the activate state of wire style group.
EwErrorCode setEwComputeOrderNumberType(EwComputeOrderNumberType eComputeOrderNumberType)
Set the compute order number type of the current object.
EwErrorCode setEwTagUnicityType(EwTagUnicityType eTagUnicityType)
Set the tag unicity type of the current object.
EwErrorCode setNumber(LONG lNumberID)
Set the identifier(numberid) of the current object.
Use this interface to manage IEwProjectWireStyleX objects.
Definition: EwProjectWireObjects.idl:1559
IEwProjectWireStyleGroupX newEwProjectWireStyleGroup(EwErrorCode *errorCode)
Create an interface for a new wire style group in the current project.
VARIANT getEwProjectWireStyleGroupArray(EwErrorCode *errorCode)
Get all the wires style group in the project of the manager.
IEwProjectWireStyleX findEwProjectWireStyleByID(LONG lWireStyleID, EwErrorCode *errorCode)
Find a wire style in the project with the target ID.
IEwProjectWireStyleGroupX findEwProjectWireStyleGroupByID(LONG lWireStyleGroupID, EwErrorCode *errorCode)
Find a EwProjectWireStyleGroupX by ID in the current project.
VARIANT getEwProjectWireStyleSynopticArray(EwErrorCode *errorCode)
Get all the synoptic wires style in the project of the manager.
IEwProjectWireStyleSynopticX newEwProjectWireStyleSynoptic(EwErrorCode *errorCode)
Create an interface for a new synoptic wire style in the current project.
IEwProjectWireStyleX newEwProjectWireStyle(EwErrorCode *errorCode)
Create an interface for a new wire style in the current project.
VARIANT getEwProjectWireStyleArray(EwErrorCode *errorCode)
Get all the wires style in the project of the manager.
IEwProjectWireStyleSynopticX findEwProjectWireStyleSynopticByID(LONG lWireStyleID, EwErrorCode *errorCode)
Find a synoptic wire style in the project with the target ID.
Use this interface to manage Wire Style inside a project.
Definition: EwProjectWireObjects.idl:1333
Use this interface to manage Wire Style inside a project.
Definition: EwProjectWireObjects.idl:937
EwErrorCode setEwPhaseType(EwPhaseType ePhaseType)
Set the frequence of the current object.
BSTR getEquipTagFormula(EwErrorCode *errorCode)
Get the equip tag formula of the current object.
BSTR getDispWiring(EwErrorCode *errorCode)
Get the disp wiring of the current object.
EwErrorCode setNumberID(LONG lNumberID)
Set the number ID of the current object.
EwWireSizeStandard getWireSizeStandard(EwErrorCode *errorCode)
Get the wire size standard of the current object.
BSTR getTension(EwErrorCode *errorCode)
Get the tension of the current object.
EwErrorCode setDispSchema(BSTR strDispSchema)
Set the disp schema of the current object.
EwErrorCode setWireSizeStandard(EwWireSizeStandard eWireSizeStandard)
Set the wire size standard of the current object.
EwErrorCode setTension(BSTR strTension)
Set the tension of the current object.
BSTR getLinearMass(EwErrorCode *errorCode)
Get the linear mass (density) of this object.
BSTR getWireSectionGauge(EwErrorCode *errorCode)
Get the wire section gauge of the current object.
EwPhaseType getEwPhaseType(EwErrorCode *errorCode)
Get the EwPhaseType of the current object.
BSTR getFrequence(EwErrorCode *errorCode)
Get the frequence of the current object.
EwErrorCode setEquipTagFormula(BSTR strEquipTagFormula)
Set the equip tag formula of the current object.
LONG getOrderNo(EwErrorCode *errorCode)
Get the order no of the current object.
VARIANT_BOOL getPropagate(EwErrorCode *errorCode)
Get the propagate value of the current object.
BSTR getDispTerminal(EwErrorCode *errorCode)
Get the disp terminal of the current object.
EwErrorCode setCableDiameter(double dDiameter)
Set the cable diameter of the current object.
LONG getNumberID(EwErrorCode *errorCode)
Get the number ID of the current object.
EwErrorCode setWireSectionGauge(BSTR strWireSectionGauge)
Set the wire section gauge of the current object.
EwErrorCode setFrequence(BSTR strFrequence)
Set the frequence of the current object.
DOUBLE getBendRadius(EwErrorCode *errorCode)
Get the bend radius in millimeter associated with the current object.
EwErrorCode setDispTerminal(BSTR strDispTerminal)
Set the disp terminal of the current object.
BSTR getWireTagFormula(EwErrorCode *errorCode)
Get the wire tag formula of the current object.
EwErrorCode setPropagate(VARIANT_BOOL bPropagate)
Set the propagate value of the current object.
EwErrorCode setDispWiring(BSTR strDispWiring)
Set the disp wiring of the current object.
EwErrorCode setLinearMass(BSTR strLinearMass)
Set the linear mass (density) of this object.
EwErrorCode setBendRadius(DOUBLE dBendRadius)
Set the bend radius in millimeter associated with the current object.
EwErrorCode setOrderNo(LONG lOrderNo)
Set the order no of the current object.
EwErrorCode setWireTagFormula(BSTR strWireTagFormula)
Set the wire tag formula of the current object.
double getCableDiameter(EwErrorCode *errorCode)
Get the cable diameter of the current object.
BSTR getDispSchema(EwErrorCode *errorCode)
Get the disp schema of the current object.
Use this interface to manage wire inside a project.
Definition: EwProjectWireObjects.idl:27
DOUBLE getBendRadiusFactor(EwErrorCode *errorCode)
Get the bend radius factor associated with the current wire.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
BSTR getSignal(EwErrorCode *errorCode)
Get the signal of this wire.
LONG getDestinationComponentID(EwErrorCode *errorCode)
Get the ID of the EwProjectComponentX at the destination of this wire.
EwErrorCode setBendRadius(DOUBLE dBendRadius)
Set the bend radius in millimeter associated with the current object.
VARIANT_BOOL getIsFixedLength(EwErrorCode *errorCode)
Get if the wire length is fixed.
BSTR getSectionOrGauge(EwErrorCode *errorCode)
Get the section or gauge of this wire.
LONG getCableWireOrder(EwErrorCode *errorCode)
Get the cabling order of the current wire.
BSTR getTagRoot(EwErrorCode *errorCode)
Get the mark root of this object.
EwErrorCode setIsFixedLength(VARIANT_BOOL bIsFixedLength)
Set if the wire length is fixed.
EwErrorCode setBendRadiusFactor(DOUBLE dBendRadiusFactor)
Set the bend radius factor associated with the current wire.
EwErrorCode setSectionOrGauge(BSTR strValue)
Set the section or gauge of this wire.
DOUBLE getLength(EwErrorCode *errorCode)
Get the lenght of the current wire.
LONG getWireStyleID(EwErrorCode *errorCode)
Get the EwWireStyleX object ID of the current wire.
BSTR getTag(EwErrorCode *errorCode)
Get the mark of this object.
BSTR getDestination(EwErrorCode *errorCode)
Get the destination of this wire.
LONG getDestinationComponentCircuitID(EwErrorCode *errorCode)
Get the ID of the EwProjectComponentCircuitX at the destination of this wire.
EwErrorCode setSignal(BSTR strValue)
Set the signal of this wire.
VARIANT_BOOL isTagUnique(EwErrorCode *errorCode)
Returns true or false if mark is unique.
EwErrorCode setWireSizeStandard(EwWireSizeStandard eWireSizeStandard)
Set the wire size standard enum type of this wire.
EwErrorCode setHarnessID(long lHarnessID)
Set the Harness ID of this wire.
LONG getHarnessID(EwErrorCode *errorCode)
Get the Harness ID associated at the current wire.
BSTR getEquipotential(EwErrorCode *errorCode)
Get the equipotential tag of this wire.
LONG getOriginComponentCircuitID(EwErrorCode *errorCode)
Get the ID of the EwProjectComponentCircuitX at the origin of this wire.
BSTR getOrigin(EwErrorCode *errorCode)
Get the origin of this wire.
EwErrorCode setTagNumber(long lValue)
Set the mark number of this object.
EwErrorCode setTag(BSTR strValue)
Set the mark of this object.
LONG getComponentTerminalNumber(EwWireExtremityType eWireExtremityType, EwErrorCode *errorCode)
Get the number associated to the terminal connected to the origin or the destination of this wire cor...
EwErrorCode setLinearMass(BSTR strLinearMass)
Set the linear mass (density) of this object.
EwErrorCode setLength(DOUBLE dLength)
LONG getOriginComponentTerminalNumber(EwErrorCode *errorCode)
Get the number associated to the terminal connected to the origin of the wire.
BSTR getPath(EwErrorCode *errorCode)
Get the duct path of the current wire.
DOUBLE getBendRadius(EwErrorCode *errorCode)
Get the bend radius in millimeter associated with the current object.
BSTR getCableCoreDescription(EwErrorCode *errorCode)
Get the cable core description of the current wire.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
EwErrorCode setNextTagNumber()
Set the next number to have a unique mark.
EwErrorCode setTagMode(EwTagMode eTagMode)
Set the mark mode of this object.
EwErrorCode setTagRoot(BSTR strValue)
Set the mark root of this object.
EwErrorCode setColorCode(BSTR strColorCode)
Set the color code of this wire.
BSTR getColorCode(EwErrorCode *errorCode)
Get the color code of this wire.
EwTagMode getTagMode(EwErrorCode *errorCode)
Get the mark mode of this object.
LONG getComponentCircuitID(EwWireExtremityType eWireExtremityType, EwErrorCode *errorCode)
Get the ID of the EwProjectComponentCircuitX at the origin or destination of this wire corresponding ...
LONG getComponentID(EwWireExtremityType eWireExtremityType, EwErrorCode *errorCode)
Get the ID of the EwProjectComponentX at the origin or destination of this wire corresponding to the ...
BSTR getLinearMass(EwErrorCode *errorCode)
Get the linear mass (density) of this object.
LONG getDestinationComponentTerminalNumber(EwErrorCode *errorCode)
Get the number associated to the terminal connected to the destination of the wire.
long getTagNumber(EwErrorCode *errorCode)
Get the mark number of this object.
EwErrorCode setDiameter(DOUBLE dValue)
Set the diameter of this wire.
LONG getOriginComponentID(EwErrorCode *errorCode)
Get the ID of the EwProjectComponentX at the origin of this wire.
EwWireSizeStandard getWireSizeStandard(EwErrorCode *errorCode)
Get the wire size standard enum type of this wire.
DOUBLE getDiameter(EwErrorCode *errorCode)
Get the diameter of this wire.
LONG getCableID(EwErrorCode *errorCode)
Get the cable ID associated to the current wire.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SOLIDWORKS Electrical API: idl_converted/EwProjectWireObjects.idl Source File
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2025 SP2

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.