4midl_pragma warning(disable:2111)
10import "EnumDefinition.idl";
11import "EwProjectLocationObjects.idl";
12import "EwProjectComponentObjects.idl";
13import "EwSymbolObjects.idl";
14import "EwTerminalObjects.idl";
22 uuid(70792A44-0983-467D-9D9D-76465608CAAD),
26 helpstring(
"EwProjectManufacturerPartCircuitX Interface"),
27 pointer_default(unique)
39 uuid(CE2D9B08-6AEB-494C-BE28-6672CC3E4821),
43 helpstring(
"IEwProjectManufacturerPartTerminalX Interface"),
44 pointer_default(unique)
57 uuid(1EB3362A-D37A-4E2A-8ED6-D6BB4FCC0CA3),
61 helpstring(
"IEwProjectManufacturerPartX Interface"),
62 pointer_default(unique)
1005 uuid(b1162e20-26cd-11e5-b345-feff819cdc9f),
1009 helpstring(
"IEwProjectManufacturerPartManagerX Interface"),
1010 pointer_default(unique)
EwManufacturerDataIndex
Enumeration of the manufacturer data indexes.
Definition: EnumDefinition.idl:469
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwManufacturerPartType
Manufacturer part type.
Definition: EwEnumeration.idl:667
Use this interface to manage an IEwClassificationX object.
Definition: EwClassificationObjects.idl:228
This interface is a generic interface for standard object methods.
Definition: EwObjectBaseObjects.idl:97
Use this interface to manage a component inside a project.
Definition: EwProjectComponentObjects.idl:530
Use this interface to manage the location inside a project.
Definition: EwProjectLocationObjects.idl:27
Use this interface to manage manufacturer part circuit inside a project.
Definition: EwProjectManufacturerPartObjects.idl:29
Use this interface to manage IEwProjectManufacturerPartX objects.
Definition: EwProjectManufacturerPartObjects.idl:1012
IEwProjectManufacturerPartX findEwProjectManufacturerPartByID(LONG lID, EwErrorCode *errorCode)
return a Manufacturer part according to an ID
IEwProjectManufacturerPartX newEwProjectManufacturerPart()
Create a IEwProjectManufacturerPartX object from the associated project.
VARIANT getEwProjectManufacturerPartArray(EwErrorCode *errorCode)
Get all the manufacturer parts in the manager project.
Use this interface to manage manufacturer part terminal inside a project.
Definition: EwProjectManufacturerPartObjects.idl:46
Use this interface to manage manufacturer part inside a project.
Definition: EwProjectManufacturerPartObjects.idl:65
DOUBLE getLength(EwErrorCode *errorCode)
Get the length in millimeters of the manufacturer part.
long getTerminalTypeID(EwErrorCode *errorCode)
Get the terminal type ID of the current manufacturer part.
long getSchemeSymbolID(EwErrorCode *errorCode)
Get the schematic symbol ID of the current manufacturer part.
BSTR getDescription(BSTR strLanguageCode, EwErrorCode *errorCode)
Get the manufacturer part description.
EwErrorCode setDataSheetFilePath(BSTR strDataSheetFilePath)
Set the data sheet file path of the current manufacturer part.
BSTR getManufacturerDataValue(EwManufacturerDataIndex eIndexValue, EwErrorCode *errorCode)
Get a manufacturer data value associated to the current manufacturer part.
BSTR getUseVoltage(EwErrorCode *errorCode)
Get the use voltage of the current manufacturer part.
LONG getHarnessID(EwErrorCode *errorCode)
Get the Harness ID associated with the manufacturer part.
EwErrorCode setTerminalTypeID(long lID)
Set the terminal type ID of the current manufacturer part.
BSTR getDataSheetFilePath(EwErrorCode *errorCode)
Get the data sheet file path of the current manufacturer part.
BSTR getUseFrequency(EwErrorCode *errorCode)
Get the use frequency of the current manufacturer part.
EwErrorCode setExternalID(BSTR strExternalID)
Set the external identifier.
EwErrorCode setWeight(DOUBLE dWeight)
Set the weight of the current manufacturer part.
BSTR getControlVoltage(EwErrorCode *errorCode)
Get the control voltage of the current manufacturer part.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
EwErrorCode setHarnessID(long lHarnessID)
Set the Harness ID of this manufacturer part.
EwErrorCode setTerminalStripSymbolID(long lID)
Set the terminal strip symbol ID of the current manufacturer part.
EwErrorCode setSupplierName(BSTR strSupplierName)
Set the supplier name of the current manufacturer part.
EwManufacturerPartType getEwManufacturerPartType(EwErrorCode *errorCode)
Get the base type (EwManufacturerPartType enum) of the current manufacturer part.
DOUBLE getWidth(EwErrorCode *errorCode)
Get the width in millimeters of the current manufacturer part.
EwErrorCode setControlFrequency(BSTR strControlFrequency)
Set the control frequency of the current manufacturer part.
EwErrorCode setSchemeSymbolID(long lID)
Set the schematic symbol ID of the current manufacturer part.
EwErrorCode setConnectionLabelSymbolID(long lID)
Set the connection label symbol ID of the current manufacturer part.
EwErrorCode setDepth(DOUBLE dDepth)
Set the depth in millimeters of the current manufacturer part.
VARIANT_BOOL isRailOrDuct(EwErrorCode *errorCode)
Check if the manufacturer part is a rail or a duct.
BSTR getExternalID(EwErrorCode *errorCode)
Get external identifier.
BSTR getSeries(EwErrorCode *errorCode)
Get the series of the current manufacturer part.
EwErrorCode setStockNumber(BSTR strStockNumber)
Set the stock number of the current manufacturer part.
BSTR getControlFrequency(EwErrorCode *errorCode)
Get the control frequency of the current manufacturer part.
EwErrorCode set2DFootPrintSymbolID(long lID)
Set the 2D foot print symbol ID of the current manufacturer part.
EwErrorCode setClassificationID(long lClassificationID)
Set the setClassification of the current manufacturer part by classification id.
BSTR getSupplierName(EwErrorCode *errorCode)
Get the supplier name of the current manufacturer part.
VARIANT_BOOL getExcludeFromBillOfMaterials(EwErrorCode *errorCode)
Check if current manufacturer part is to exclude from bill of materials.
EwErrorCode setControlVoltage(BSTR strControlVoltage)
Set the control voltage of the current manufacturer part.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
IEwProjectLocationX getEwProjectLocation(EwErrorCode *errorCode)
Get the location to which the manufacturer part is associated.
EwErrorCode setUseVoltage(BSTR strUseVoltage)
Set the use voltage of the current manufacturer part.
DOUBLE getWeight(EwErrorCode *errorCode)
Get the weight in grams of the current manufacturer part.
long getObjectID(EwErrorCode *errorCode)
Return the Object ID associated with the manufacturer part.
BSTR getArticleNumber(EwErrorCode *errorCode)
Get article number of the object.
long get2DFootPrintSymbolID(EwErrorCode *errorCode)
Get the 2D foot print symbol ID of the current manufacturer part.
BSTR getStockNumber(EwErrorCode *errorCode)
Get the stock number of the current manufacturer part.
EwErrorCode setClassID(LONG lID)
Set the class ID of this manufacturer part.
BSTR get3DPartFilePath(EwErrorCode *errorCode)
Get the file path of the associated 3D part.
BSTR getReference(EwErrorCode *errorCode)
Get the reference name of this manufacturer part.
EwErrorCode setArticleNumber(BSTR strArticleNumber)
Set article number of the object.
IEwProjectComponentX getEwProjectComponent(EwErrorCode *errorCode)
Get the component to which the current manufacturer part is associated.
long getConnectionLabelSymbolID(EwErrorCode *errorCode)
Get the connection label symbol ID of the current manufacturer part.
EwErrorCode setDescription(BSTR strLanguageCode, BSTR strDescription)
Set the manufacturer part description.
EwErrorCode setEwManufacturerPartType(EwManufacturerPartType eManufacturerPartType)
Set the base type (EwManufacturerPartType enum) of the current manufacturer part.
EwErrorCode setSeries(BSTR strSeries)
Set the series of the current manufacturer part.
long getTerminalStripSymbolID(EwErrorCode *errorCode)
Get the terminal strip symbol ID of the current manufacturer part.
EwErrorCode setLineDiagramSymbolID(long lID)
Set the line diagram symbol ID of the current manufacturer part.
long getLineDiagramSymbolID(EwErrorCode *errorCode)
Get the line diagram symbol ID of the current manufacturer part.
DOUBLE getAdjustableLength(EwErrorCode *errorCode)
Get the adjustable length of the manufacturer part.
EwErrorCode setManufacturerDataValue(EwManufacturerDataIndex eIndexValue, BSTR strManufacturerDataValue)
Set a manufacturer data value associated to the current manufacturer part.
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer name of the current manufacturer part.
EwErrorCode setHeight(DOUBLE dHeight)
Set the height in millimeters of the current manufacturer part.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current manufacturer part.
EwErrorCode setManufacturer(BSTR strManufacturerName)
Set the manufacturer name of the current manufacturer part.
EwErrorCode setObjectID(long lID)
Sets the ID of the object to associate with the manufacturer part.
EwErrorCode setExcludeFromBillOfMaterials(VARIANT_BOOL bIsExcludeFromBOM)
Set if current manufacturer part is to exclude from bill of materials.
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.
DOUBLE getDepth(EwErrorCode *errorCode)
Get the depth in millimeters of the manufacturer part.
DOUBLE getHeight(EwErrorCode *errorCode)
Get the height in millimeters of the current manufacturer part.
LONG getClassID(EwErrorCode *errorCode)
Get the class ID of the manufacturer part.
EwErrorCode setUseFrequency(BSTR strUseFrequency)
Set the use frequency of the current manufacturer part.
LONG getEwProjectManufacturerPartCircuitCount(EwErrorCode *errorCode)
Get the number of circuits associated to the current manufacturer part.
LONG getEwProjectManufacturerPartTerminalCount(EwErrorCode *errorCode)
Get the number of terminals associated to the current manufacturer part.
LONG getClassificationID()
Deprecated use getClassId.
EwErrorCode setLength(DOUBLE dLength)
Set the length in millimeters of the current manufacturer part.
EwErrorCode setReference(BSTR strReference)
Set the reference name of this manufacturer part.
EwErrorCode setWidth(DOUBLE dWidth)
Set the width in millimeters of the current manufacturer part.