Hide Table of Contents
SOLIDWORKS Electrical API 2023.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
7
8import "oaidl.idl";
9import "ocidl.idl";
10
11import "EnumDefinition.idl";
12import "EwObjectBaseObjects.idl";
13
14
19[
20 object,
21 uuid(61f18da4-03bd-11e5-8418-1697f925ec7b),
22 dual,
23 oleautomation,
24 nonextensible,
25 helpstring("IEwProjectWireX Interface"),
26 pointer_default(unique)
27]
29{
40 EwErrorCode setUserData (LONG nUserDataNumber , BSTR strValue);
41
42
53 BSTR getUserData (LONG nUserDataNumber , EwErrorCode* errorCode);
54
55
64 BSTR getTag (EwErrorCode* errorCode);
65
66
78 EwErrorCode setTag (BSTR strValue);
79
80
89 BSTR getTagRoot (EwErrorCode* errorCode);
90
91
102 EwErrorCode setTagRoot (BSTR strValue);
103
104
114
115
126
127
136 long getTagNumber (EwErrorCode* errorCode);
137
138
151
152
162
163
172 VARIANT_BOOL isTagUnique (EwErrorCode* errorCode);
173
174
175 /*
176 * Set the wire length value
177 * \return EwErrorCode enum type, can be:
178 * \li EW_NO_ERROR if no error detected
179 * \li EW_UNDEFINED_ERROR if another error occurred
180 */
181 EwErrorCode setLength (DOUBLE dLength);
182
183
192 BSTR getLinearMass (EwErrorCode* errorCode);
193
194
204 EwErrorCode setLinearMass (BSTR strLinearMass);
205
206
220 EwErrorCode setHarnessID (long lHarnessID);
221
222
233 LONG getHarnessID (EwErrorCode* errorCode);
234
235
245 DOUBLE getLength (EwErrorCode* errorCode);
246
247
257 EwErrorCode setDiameter (DOUBLE dValue);
258
259
269 DOUBLE getDiameter (EwErrorCode* errorCode);
270
271
272
283
284
295
296
307
308
319
320
330 EwErrorCode setSignal (BSTR strValue);
331
332
342 BSTR getSignal (EwErrorCode* errorCode);
343
344
354 BSTR getColorCode (EwErrorCode* errorCode);
355
356
366 EwErrorCode setColorCode (BSTR strColorCode);
367
368
380 EwErrorCode setBendRadiusFactor (DOUBLE dBendRadiusFactor);
381
382
392 DOUBLE getBendRadiusFactor (EwErrorCode* errorCode);
393
394
405 EwErrorCode setBendRadius (DOUBLE dBendRadius);
406
407
417 DOUBLE getBendRadius (EwErrorCode* errorCode);
418
419
420
430 BSTR getPath (EwErrorCode* errorCode);
431
432
442 LONG getWireStyleID (EwErrorCode* errorCode);
443
444
454 BSTR getEquipotential (EwErrorCode* errorCode);
455
456
467
468
478 LONG getCableID (EwErrorCode* errorCode);
479
480
490 BSTR getOrigin (EwErrorCode* errorCode);
491
492
502 BSTR getDestination (EwErrorCode* errorCode);
503
504
515
516
517};
518
519
524[
525 object,
526 uuid(FC6A488D-6EA7-4800-9035-2F7F4FEA6E61),
527 dual,
528 nonextensible,
529 pointer_default(unique)
530]
531interface IEwProjectWireManagerX : IDispatch{
541
542
548 VARIANT getEwProjectWireArray (EwErrorCode* errorCode);
549
550
560
561};
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:798
EwWireSizeStandard
Wire size standard type.
Definition: EwEnumeration.idl:636
This interface is a generic interface for standard object methods.
Definition: EwObjectBaseObjects.idl:97
Use this interface to manage IEwProjectWireX objects.
Definition: EwProjectWireObjects.idl:531
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 inside a project.
Definition: EwProjectWireObjects.idl:29
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.
EwErrorCode setBendRadius(DOUBLE dBendRadius)
Set the bend radius in millimeter associated with the current wire.
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 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.
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.
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.
EwErrorCode setLinearMass(BSTR strLinearMass)
Set the linear mass (density) of this wire.
EwErrorCode setLength(DOUBLE dLength)
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 wire.
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.
BSTR getLinearMass(EwErrorCode *errorCode)
Get the linear mass (density) of this wire.
long getTagNumber(EwErrorCode *errorCode)
Get the mark number of this object.
EwErrorCode setDiameter(DOUBLE dValue)
Set the diameter 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) 2023 SP05

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.