 |
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";
12 import "EwObjectBase.idl";
20 uuid(60A0873B-AFFB-47CB-91B4-4F94D860672B),
23 pointer_default(unique)
596 uuid(5E7EE771-FFA6-4959-B3A6-09E8FED6F813),
599 pointer_default(unique)
EwErrorCode setVoltageDrop(DOUBLE dVoltageDrop)
Set the voltage drop associated with the current cable.
VARIANT getEwProjectCableArray(EwErrorCode *errorCode)
Get all the cables in the manager project.
Use this interface to manage cables of a project.
Definition: EwProjectCableObjects.idl:601
IEwProjectCableX findEwProjectCableByID(LONG lCableID, EwErrorCode *errorCode)
Find a cable in the project with the target ID.
EwErrorCode setFunctionID(LONG lFunctionID)
Set the function ID associated with the current cable.
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:103
EwErrorCode setDoCalculation(VARIANT_BOOL bDoCalculation)
Set the calculation associated with the current cable.
EwErrorCode set3dDestination(BSTR str3dDestination)
Set the 3D destination associated with the current cable.
BSTR getFamily(EwErrorCode *errorCode)
Get the family associated with the current cable.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode setLength(DOUBLE dLength)
EwErrorCode setLinearMass(BSTR strLinearMass)
Set the linear mass (density) of this cable.
EwErrorCode setUpStreamLocationID(LONG lUpStreamLocationID)
Set the up stream location associated with the current cable.
BSTR getColorCode(EwErrorCode *errorCode)
Get the color code of this cable.
LONG getDownStreamLocationID(EwErrorCode *errorCode)
Get the down stream location associated with the current cable.
BSTR getLinearMass(EwErrorCode *errorCode)
Get the linear mass (density) of this cable.
BSTR getReference(EwErrorCode *errorCode)
Get the reference of the cable.
EwErrorCode setDiameter(DOUBLE dDiameter)
Set the diameter associated with the current cable.
BSTR getArticleNumber(EwErrorCode *errorCode)
Get the article number.
DOUBLE getInRushFactor(EwErrorCode *errorCode)
Get the rush factor associated with the current cable.
EwErrorCode setDownStreamLocationID(LONG lDownStreamLocationID)
Set the down stream location associated with the current cable.
BSTR get3dDestination(EwErrorCode *errorCode)
Get the 3D Destination associated with the current cable.
BSTR getStandard(EwErrorCode *pErrorCode)
Get the standard associated with the current cable.
LONG getUpStreamLocationID(EwErrorCode *errorCode)
Get the up stream location associated with the current cable.
EwErrorCode setFamily(BSTR strFamily)
Set the family associated with the current cable.
VARIANT_BOOL getDoCalculation(EwErrorCode *errorCode)
Get the calculation associated with the current cable.
EwErrorCode setHarnessID(long lHarnessID)
Set the Harness ID of this cable.
IEwProjectCableX newEwProjectCable()
Create an IEwProjectCableX object from the associated project.
Use this interface to manage a cable inside a project.
Definition: EwProjectCableObjects.idl:26
DOUBLE getDiameter(EwErrorCode *errorCode)
Get the diameter associated with the current cable.
BSTR getStockNumber(EwErrorCode *errorCode)
Get the stock number associated with the current cable.
BSTR get3dOrigin(EwErrorCode *errorCode)
Get the 3D Orign associated with the current cable.
LONG getCoreCount(EwErrorCode *errorCode)
Get cable core count.
BSTR getExternalID(EwErrorCode *errorCode)
Get external identifier of this cable.
DOUBLE getBendRadius(EwErrorCode *errorCode)
Get the bend radius associated with the current cable.
LONG getCount(EwErrorCode *errorCode)
return the number of cables of associated project
LONG getHarnessID(EwErrorCode *errorCode)
Get the Harness ID associated with the current cable.
EwErrorCode setStandard(BSTR strStandard)
Set the standard associated with the current cable.
EwErrorCode setAppliedVoltage(DOUBLE dAppliedVoltage)
Set the applied voltage associated with the current cable.
EwErrorCode setFullLoadCurrent(DOUBLE dFullLoadCurrent)
Set the full load current associated with the current cable.
DOUBLE getVoltageDrop(EwErrorCode *errorCode)
Get the voltage drop associated with the current cable.
DOUBLE getFullLoadCurrent(EwErrorCode *errorCode)
Get the full load current associated with the current cable.
DOUBLE getAppliedVoltage(EwErrorCode *errorCode)
Get the applied voltage associated with the current cable.
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer of the cable.
EwErrorCode setExternalID(BSTR strExternalID)
Set the external identifier of this cable.
EwErrorCode set3dOrigin(BSTR str3dOrigin)
Set the 3D Orign associated with the current cable.
BSTR getSupplierName(EwErrorCode *errorCode)
Get the supplier name associated with the current cable.
EwErrorCode setBendRadius(DOUBLE dBendRadius)
Set the bend radius associated with the current cable.
EwErrorCode setSupplierName(BSTR strSupplierName)
Set the supplier name associated with the current cable.
EwErrorCode setColorCode(BSTR strColorCode)
Set the color code of this cable.
EwErrorCode setStockNumber(BSTR strStockNumber)
Set the stock number associated with the current cable.
VARIANT selectCables(EwErrorCode *errorCode)
Invoke cable selection dialog.
EwErrorCode setArticleNumber(BSTR strArticleNumber)
Set the article number.
EwErrorCode setCoreStubs(LONG nCoreIdx, DOUBLE dStubLengthFrom, DOUBLE dStubLengthTo)
Set lengths of cable core stubs.
EwErrorCode setInRushFactor(DOUBLE dInRushFactor)
Set the rush factor associated with the current cable.
LONG getFunctionID(EwErrorCode *errorCode)
Get the function ID associated with the current cable.