Hide Table of Contents
SOLIDWORKS Electrical API  2022.0.0
Electrical API
EwProjectRoutingObjects.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 
8 import "oaidl.idl";
9 import "ocidl.idl";
10 
11 import "EnumDefinition.idl";
12 
13 // \cond HideRouting
18 [
19  object,
20  uuid(35AB23C7-860C-4156-8F61-F3B913A1D4CE),
21  dual,
22  nonextensible,
23  pointer_default(unique)
24 ]
25 interface IEwRoutingConnectionPointX : IDispatch{
26 
34  BSTR getName (EwErrorCode* errorCode);
35 
36 
46  EwErrorCode getOrigin (DOUBLE* dX, DOUBLE* dY, DOUBLE* dZ);
47 
48 
58  EwErrorCode getAxis (DOUBLE* dX, DOUBLE* dY, DOUBLE* dZ);
59 
60 
68  LONG getEwProjectComponentCircuitID (EwErrorCode* errorCode);
69 
70 
78  LONG getEwProjectComponentTerminalNo (EwErrorCode* errorCode);
79 
80 
88  BSTR getShortName (EwErrorCode* errorCode);
89 
90 };
91 
96 [
97  object,
98  uuid(75C6AC7F-22A7-4748-8A6B-C3A0882DD7CD),
99  dual,
100  nonextensible,
101  pointer_default(unique)
102 ]
103 interface IEwRoutingComponentX : IDispatch{
107  LONG getEwProjectManufacturerPartID ();
108 
109 
113  BSTR getName ();
114 
115 
119  BSTR get3DID ();
120 
121 
125  LONG getEwRoutingConnectionPointCount ();
126 
127 
133  IEwRoutingConnectionPointX getEwRoutingConnectionPointAt (LONG lIndex);
134 
135 
139  LONG getFileID ();
140 
141 };
142 
147 [
148  object,
149  uuid(78FC49CF-8838-4110-B4FC-63B1A9A7DE16),
150  dual,
151  nonextensible,
152  pointer_default(unique)
153 ]
154 interface IEwRoutingWireX : IDispatch{
162  BSTR getName (EwErrorCode* errorCode);
163 
164 
172  LONG getColor (EwErrorCode* errorCode);
173 
174 
182  DOUBLE getDiameter (EwErrorCode* errorCode);
183 
184 
192  LONG getID (EwErrorCode* errorCode);
193 
194 
202  LONG getEwLineTypeID (EwErrorCode* errorCode);
203 
204 
212  LONG getEwProjectManufacturerPartFromID (EwErrorCode* errorCode);
213 
214 
222  LONG getEwProjectManufacturerPartToID (EwErrorCode* errorCode);
223 
224 
232  LONG getEwProjectComponentCircuitFromID (EwErrorCode* errorCode);
233 
234 
242  LONG getEwProjectComponentCircuitToID (EwErrorCode* errorCode);
243 
244 
252  LONG getEwProjectComponentTerminalFromNo (EwErrorCode* errorCode);
253 
254 
262  LONG getEwProjectComponentTerminalToNo (EwErrorCode* errorCode);
263 
264 
272  BSTR getColorCode (EwErrorCode* errorCode);
273 
274 
282  LONG getEwProjectHarnessID (EwErrorCode* errorCode);
283 
284 
292  DOUBLE getBendRadius (EwErrorCode* errorCode);
293 
294 
302  DOUBLE getSection (EwErrorCode* errorCode);
303 
304 };
305 
310 [
311  object,
312  uuid(64AA4568-4780-44D4-8FD5-49BD92B1371A),
313  dual,
314  nonextensible,
315  pointer_default(unique)
316 ]
317 interface IEwRoutingCableX : IDispatch{
321  BSTR getName ();
322 
323 
327  BSTR getCableReference ();
328 
329 
333  BSTR getColorCode ();
334 
335 
339  BSTR getDescription ();
340 
341 
345  DOUBLE getBendRadius ();
346 
347 
351  DOUBLE getDiameter ();
352 
353 
357  LONG getColor ();
358 
359 
363  LONG getID ();
364 
365 
369  LONG getEwRoutingWireCount ();
370 
371 
377  IEwRoutingWireX getEwRoutingWireAt (LONG lIndex);
378 
379 
383  LONG getEwProjectManufacturerPartFromID ();
384 
385 
389  LONG getEwProjectManufacturerPartToID ();
390 
391 
395  BSTR get3DPartFrom3DID ();
396 
397 
401  BSTR get3DPartTo3DID ();
402 
403 
407  LONG getEwProjectHarnessID ();
408 
409 
410 };
411 
416 [
417  object,
418  uuid(806D5E30-62D6-4570-ADC4-4C36DFD1DF4A),
419  dual,
420  nonextensible,
421  pointer_default(unique)
422 ]
423 interface IEwRoutingLineTypeX : IDispatch{
427  BSTR getName ();
428 
429 
433  LONG getID ();
434 
435 
439  LONG getEwRoutingWireCount ();
440 
441 
447  IEwRoutingWireX getEwRoutingWireAt (LONG lIndex);
448 
449 };
450 
454 [
455  object,
456  uuid(35AB23C7-860C-4156-8F61-F3B913B2D8CE),
457  dual,
458  nonextensible,
459  pointer_default(unique)
460 ]
461 interface IEwRoutingLocationX : IDispatch {
462 
470  BSTR getName (EwErrorCode* errorCode);
471 
472 
482  void getPos (DOUBLE* dX, DOUBLE* dY, DOUBLE* dZ, EwErrorCode* errorCode);
483 
484 
492  IEwRoutingConnectionPointX getEwRoutingConnectionPoint (EwErrorCode* errorCode);
493 
494 };
495 
500 [
501  object,
502  uuid(35AB23C7-860C-4156-8F61-F38913B2DBCE),
503  dual,
504  nonextensible,
505  pointer_default(unique)
506 ]
507 interface IEwRoutingConnectionX : IDispatch {
508 
514  void getLocations (IEwRoutingLocationX** ewLocationA, IEwRoutingLocationX** iRoutingLocationX);
515 
516 
521  VARIANT_BOOL isOnAxis ();
522 
523 };
524 
531 [
532  object,
533  uuid(E18E6D8E-B8A3-4359-9ADE-DE0F75D0C5B8),
534  dual,
535  nonextensible,
536  pointer_default(unique)
537 ]
538 interface IEwRoutingDataX : IDispatch{
539 
553  BOOL updateEwRoutingConnectionPoint (BSTR str3DID, LONG lFileID, BSTR strName , DOUBLE dXOrigin, DOUBLE dYOrigin, DOUBLE dZOrigin , DOUBLE dXAxis, DOUBLE dYAxis, DOUBLE dZAxis);
554 
559  void prepareGraph (Ew3DRouteType eRouteType);
560 
561 
565  LONG getEwRoutingLineTypeCount ();
566 
567 
571  LONG getEwRoutingComponentCount ();
572 
573 
579  IEwRoutingComponentX getEwRoutingComponentAt (LONG lIndex);
580 
581 
587  IEwRoutingLineTypeX getEwRoutingLineTypeAt (LONG lIndex);
588 
589 
593  LONG getEwRoutingCableCount ();
594 
595 
601  IEwRoutingCableX getEwRoutingCableAt (LONG nIndex);
602 
603 
614  EwErrorCode addAxis (DOUBLE* dCoords, BSTR strName, BSTR strEWName);
615 
616 
626  EwErrorCode buildPathGraph (BOOL bHarness, BOOL bFollowPath);
627 
628 
640  VARIANT findBestRoute (BSTR strPointNameFrom, BSTR strPointNameTo, EwErrorCode* errorCode);
641 
642 
653  EwErrorCode addEwRoutingConnectionPoint (BSTR strCPName, DOUBLE* dOrigin, DOUBLE* dAxis);
654 
655 
666  EwErrorCode setRoutingParameter (EwRoutingParameters eRoutingParameters, VARIANT vValue);
667 
668 
680  EwErrorCode getRoutingParameter (EwRoutingParameters eRoutingParameters, VARIANT* vValue);
681 
682 
687  VARIANT_BOOL showRoutingParmsDialog ();
688 
689 
696  VARIANT getConnections ();
697 
698 
704  void reset ();
705 
706 
714  void setSelection (VARIANT* vharnessIdArray, VARIANT* vcableIdArray, VARIANT* vBOMIdArray);
715 
716 
721  void clearSelection ();
722 
723 };
724 
725 // \endcond
Ew3DRouteType
All 3D route types.
Definition: EwEnumeration.idl:319
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwRoutingParameters
All routing parameters (defined in EwCoRtData.h)
Definition: EwEnumeration.idl:728


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/EwProjectRoutingObjects.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) 2022 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.