 |
SOLIDWORKS Electrical API
2022.0.0
Electrical API
|
Go to the documentation of this file.
4 midl_pragma warning(disable:2111)
10 import "EnumDefinition.idl";
11 import "EwObjectBase.idl";
19 uuid(43C3ED22-88B2-4CC3-BB96-FE39AB0DB3DA),
23 helpstring(
"IEwProjectHarnessX Interface"),
24 pointer_default(unique)
121 uuid(0AED850B-7237-4C44-8CC1-C6E5F09E5382),
125 helpstring(
"IEwProjectHarnessManagerX Interface"),
126 pointer_default(unique)
Use this interface to manage the Harness inside a project.
Definition: EwProjectHarnessObjects.idl:27
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:103
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
VARIANT getEwProjectWireArray(EwErrorCode *errorCode)
Get all the wire object interfaces of the current Harness (IEwProjectWireX).
Use this interface to manage the Harness objects inside a project.
Definition: EwProjectHarnessObjects.idl:129
VARIANT getEwProjectManufacturerPartArray(EwErrorCode *errorCode)
Get the manufacturer part object interfaces of the current Harness (IEwProjectManufacturerPartX).
EwErrorCode removeObject(VARIANT vArray)
Remove list of object ids from current harness.
EwErrorCode removeAllObject()
Remove all objects from the harness.
VARIANT getEwProjectComponentManufacturerPartArray(EwErrorCode *errorCode)
Get the manufacturer part object interfaces of the components added to the Harness (IEwProjectManufac...
IEwProjectHarnessX findEwProjectHarnessByID(LONG lID, EwErrorCode *errorCode)
Find an IEwProjectHarnessX interface object from this ID.
IEwProjectHarnessX newEwProjectHarness()
Create a IEwProjectHarnessX object from the associated project.
VARIANT selectHarnesses(EwErrorCode *errorCode)
Invoke harness selection dialog allowing to select one or more harnesses.
LONG getCount()
Return the number of harnesses of associated current project.
VARIANT getAllObject(EwErrorCode *errorCode)
Get an array of IDs containing all the objects which belong to the harness.
VARIANT getEwProjectCableArray(EwErrorCode *errorCode)
Get all the cable object interfaces of the current Harness, IEwProjectCableX.
VARIANT getEwProjectHarnessArray(EwErrorCode *errorCode)
Return an array of IEwProjectHarnessX.
IEwProjectHarnessX getEwProjectHarnessAt(LONG iHarness, EwErrorCode *errorCode)
Return the harness at index iHarness of the array.