 |
SOLIDWORKS Electrical API
2022.0.0
Electrical API
|
Go to the documentation of this file.
4 midl_pragma warning(disable:2111)
10 import "EwObjectBase.idl";
11 import "EwClassificationObjects.idl";
30 uuid(DABCB1C7-AC49-4B1A-9460-F0AF4BF05B18),
34 helpstring(
"IEwManufacturerPartTerminalX Interface"),
35 pointer_default(unique)
187 uuid(3AA64D24-E0F0-43D4-AC82-B4D5E804ADAB),
191 helpstring(
"IEwManufacturerPartCircuitX Interface"),
192 pointer_default(unique)
391 uuid(8961A429-4144-4A41-8C8B-B2414EC74DDD),
395 helpstring(
"IEwManufacturerPartX Interface"),
396 pointer_default(unique)
1186 uuid(A35D4915-A636-405E-BEAD-FB0A5954DCCF),
1190 helpstring(
"IEwManufacturerPartManagerX Interface"),
1191 pointer_default(unique)
BSTR get3DPartPath(EwErrorCode *errorCode)
Get the 3D part associated with this manufacturer part.
VARIANT getManufacturerPartArray(EwErrorCode *errorCode)
Return array of manufacturer parts from a Electrical Assembly.
BSTR getSerie(EwErrorCode *errorCode)
Get the series of this manufacturer part.
BSTR getUseFrequency(EwErrorCode *ewErrorCode)
Get the UseFrequency of this manufacturer part.
int getEwManufacturerPartCount(EwErrorCode *errorCode)
Return the number of manufacturer parts from the current Electrical Assembly.
EwErrorCode setChannelGroup(BSTR strChannelGroup)
Set a channel group of this circuit.
EwErrorCode setArticleNumber(BSTR strArticleNumber)
Set the article number of this manufacturer part.
EwErrorCode setStockNumber(BSTR strStockNumber)
Set the stock number of this manufacturer part.
DOUBLE getWidth(EwErrorCode *ewErrorCode)
Get the width of this manufacturer part.
BSTR getExternalID(EwErrorCode *errorCode)
Get external identifier of this manufacturer part.
LONG getNumber()
Get the number of this terminal.
EwErrorCode setControlFrequency(BSTR strControlFrequency)
Set the control frequency of this manufacturer part.
BSTR getStockNumber(EwErrorCode *errorCode)
Get the stock number of this manufacturer part.
IEwManufacturerPartX newEwManufacturerPart()
Create a IEwManufacturerPartX object from the associated environnement.
IEwManufacturerPartTerminalX addEwManufacturerPartTerminal(EwErrorCode *errorCode)
Create and add a terminal inside this circuit.
IEwManufacturerPartX findByManufacturerAndReference(BSTR strManufacturer, BSTR strReference, EwErrorCode *errorCode)
return a Manufacturer part according to the manufacturer name and the reference
LONG getEwManufacturerPartCircuitCount()
Count the number of circuit in this manufacturer part.
LONG getSymbolNumber(EwErrorCode *errorCode)
Get a symbol number of this circuit.
EwErrorCode set2DConnectionLabelSymbolName(BSTR str2DConnectionLabelSymbolName)
Set the 2D Connection label Symbol Name.
EwErrorCode setRootMark(BSTR strRootMark)
Set the root mark of this manufacturer part.
Use this interface to manage a manufacturer part.
Definition: EwManufacturerPartObjects.idl:399
BSTR getLibraryCode(EwErrorCode *errorCode)
Get the library code of this manufacturer part.
BSTR getCommercialReference(BSTR lgCode, EwErrorCode *errorCode)
Get a commercial reference of this manufacturer part.
EwErrorCode setSymbolNumber(LONG lSymbolNumber)
Set a symbol number of this circuit.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
EwErrorCode setExcludeFromBillOfMaterials(VARIANT_BOOL bIsExcludeFromBOM)
Set if current manufacturer part is to exclude from bill of materials.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
BSTR getDescription(BSTR lgCode, EwErrorCode *errorCode)
Get a description of this manufacturer parts.
EwErrorCode setUseFrequency(BSTR strUseFrequency)
Set the use frequency of this manufacturer part.
BSTR getText(EwErrorCode *errorCode)
Get a text of this terminal.
EwErrorCode setText(BSTR strText)
Set a text of this terminal.
BSTR getUseVoltage(EwErrorCode *ewErrorCode)
Get the UseVoltage of this manufacturer part.
BSTR getValue(LONG lValueId, EwErrorCode *errorCode)
Get manufacturer value according to part classification.
LONG getNumber()
Get number of this circuit.
EwErrorCode set3DPartPath(BSTR str3DPartPath)
Set the 3D part associated with this manufacturer part.
BSTR getReference(EwErrorCode *errorCode)
Get the reference of this manufacturer part.
EwErrorCode setSchemeSymbolName(BSTR strSchemeSymbolName)
Set the scheme symbol name.
EwManufacturerPartType
Manufacturer part type.
Definition: EwEnumeration.idl:638
EwErrorCode setTerminationTypeCode(BSTR strTerminationTypeCode)
Set the termination type code of this terminal.
BSTR getMaxWireGauge(EwErrorCode *errorCode)
Get a max wire gauge of this terminal.
DOUBLE getDepth(EwErrorCode *errorCode)
Get the Depth of this manufacturer part.
This interface is a generic interface for environment object methods.
Definition: EwObjectBase.idl:278
BSTR getChannelGroup(EwErrorCode *errorCode)
Get a channel group of this circuit.
LONG getClassNodeID(EwErrorCode *errorCode)
Get the classification node ID of this manufacturer part.
EwErrorCode setValue(LONG lValueId, BSTR strValue)
Set manufacturer value according to part classification.
Use this interface to manage a circuit inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:195
EwErrorCode setManufacturer(BSTR strManufacturer)
Set the manufacturer of this manufacturer part.
BSTR getSchemeSymbolName(EwErrorCode *errorCode)
Get the scheme symbol name.
LONG getSymbolCircuitNumber(EwErrorCode *errorCode)
Get the circuit number associated to this object inside the associated symbol.
LONG getMaxWireNumber(EwErrorCode *errorCode)
Get a max wire number of this terminal.
EwErrorCode setReference(BSTR strReference)
Set the reference of this manufacturer part.
EwManufacturerPartType getEwManufacturerPartType(EwErrorCode *errorCode)
Get the base type of this manufacturer part.
BSTR getRootMark(EwErrorCode *errorCode)
Get the root mark of this manufacturer part.
BSTR getGroup(EwErrorCode *errorCode)
Get a group of this circuit.
EwErrorCode setType(BSTR strType)
Set a type of this circuit.
DOUBLE getHeight(EwErrorCode *errorCode)
Get the Height of this manufacturer part.
BSTR getSupplierName(EwErrorCode *errorCode)
Get the supplier name of this manufacturer part.
BSTR getType(EwErrorCode *errorCode)
Get a type of this circuit.
BSTR get2DConnectionLabelSymbolName(EwErrorCode *errorCode)
Get the 2D Connection label Symbol Name.
EwErrorCode setMaxWireGauge(BSTR strMaxWireGauge)
Set a max wire gauge of this terminal.
LONG getEwManufacturerPartCircuitNumber()
Get the circuit number where this terminal is present.
EwErrorCode setControlVoltage(BSTR strControlVoltage)
Set the control voltage of this manufacturer part.
EwErrorCode setLineDiagramSymbolName(BSTR strLineDiagramSymbolName)
Set the line diagram symbol name.
Use this interface to manage IEwManufacturerPartX objects.
Definition: EwManufacturerPartObjects.idl:1194
BSTR getControlVoltage(EwErrorCode *errorCode)
Get the ControlVoltage of this manufacturer part.
VARIANT_BOOL getExcludeFromBillOfMaterials(EwErrorCode *errorCode)
Check if current manufacturer part is to exclude from bill of materials.
IEwManufacturerPartFiltersX newEwManufacturerPartFilters()
Create an IEwManufacturerPartFiltersX interface to filter on manufacturer parts (IEwManufacturerPartX...
BSTR getMnemonic(EwErrorCode *errorCode)
Get a mnemonic of this terminal.
EwErrorCode setSupplierName(BSTR strSupplierName)
Set the supplier name of this manufacturer part.
EwErrorCode setHeight(DOUBLE dHeight)
Set the height of this manufacturer part.
IEwManufacturerPartCircuitX getEwManufacturerPartCircuitAt(LONG index, EwErrorCode *errorCode)
Get an object inside this manufacturer part.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current manufacturer part.
EwErrorCode setDescription(BSTR lgCode, BSTR strValue)
Set a description of this manufacturer part.
DOUBLE getMaxWireSection(EwErrorCode *errorCode)
Get a max wire section of this terminal.
BSTR getTerminationTypeCode(EwErrorCode *errorCode)
Get the termination type code of this terminal.
BSTR getLineDiagramSymbolName(EwErrorCode *errorCode)
Get the line diagram symbol name.
IEwManufacturerPartCircuitX addEwManufacturerPartCircuit(BSTR strCircuitCode, EwErrorCode *errorCode)
Create and add a circuit for this manufacturer part.
EwErrorCode setCommercialReference(BSTR lgCode, BSTR strValue)
Set a commercial reference of this manufacturer part.
EwErrorCode setMnemonic(BSTR strMnemonic)
Set a mnemonic of this terminal.
EwErrorCode setClassNodeID(LONG lNodeId)
Set the classification node ID of this manufacturer part.
LONG getEwManufacturerPartTerminalCount()
Count the number of terminals in this circuits.
EwErrorCode setEwManufacturerPartType(EwManufacturerPartType eManufacturerPartType)
Set the base type of this manufacturer part.
VARIANT getEwManufacturerPartArray(EwErrorCode *errorCode)
return the array of IEwManufacturerPartX of associated environment
EwErrorCode setWidth(DOUBLE dWidth)
Set the width of this manufacturer part.
EwErrorCode deleteEwManufacturerPartAt(int iIndex)
Remove a manufacturer parts specified by the index from the current Electrical Assembly.
BSTR getChannelAddress(EwErrorCode *errorCode)
Get a channel address of this circuit.
EwErrorCode setDepth(DOUBLE dDepth)
Set the depth of this manufacturer part.
EwErrorCode deleteEwManufacturerPartCircuitAt(LONG index)
Delete a circuit from this manufacturer part.
EwErrorCode deleteEwManufacturerPartTerminalAt(LONG index)
Delete a terminal from this circuit.
IEwManufacturerPartTerminalX getEwManufacturerPartTerminalAt(LONG index, EwErrorCode *errorCode)
Get terminal inside this circuit.
EwErrorCode setSerie(BSTR strSeries)
Set the series of this manufacturer part.
EwErrorCode deleteAllEwManufacturerPart()
Remove all manufacturer parts from the current Electrical Assembly.
Use this interface to manage a terminal inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:38
EwErrorCode setMaxWireNumber(LONG lMaxWireNumber)
Set a max wire number of this terminal.
EwErrorCode addEwManufacturerPart(IEwManufacturerPartX *iManufacturerPartX)
Add a new manufacturer parts from the current Electrical Assembly.
EwErrorCode setSymbolName(BSTR strSymbolName)
Set a symbol name of this circuit.
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer of this manufacturer part.
EwErrorCode setUseVoltage(BSTR strUseVoltage)
Set the use voltage of this manufacturer part.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
EwErrorCode setGroup(BSTR strGroup)
Set a group of this circuit.
EwErrorCode setChannelAddress(BSTR strChannelAddress)
Set a channel address of this circuit.
BSTR getSymbolName(EwErrorCode *errorCode)
Get a symbol name of this circuit.
BSTR getArticleNumber(EwErrorCode *errorCode)
Get the article number of this manufacturer part.
IEwManufacturerPartX getEwManufacturerPartAt(int iIndex, EwErrorCode *errorCode)
Return the specified manufacturer parts from the current Electrical Assembly.
EwErrorCode addEwManufacturerPartAt(int iIndex, IEwManufacturerPartX *iManufacturerPartX)
Add a new manufacturer parts from the current Electrical Assembly at the specified position.
EwErrorCode setMaxWireSection(DOUBLE dMaxWireSection)
Set a max wire section of this terminal.
BSTR get2DFootprintSymbolName(EwErrorCode *errorCode)
Get the 2D Footprint Symbol Name.
BSTR getControlFrequency(EwErrorCode *ewErrorCode)
Get the ControlFrequency of this manufacturer part.
EwErrorCode setExternalID(BSTR strExternalID)
Set the external identifier of this manufacturer part.
EwErrorCode setLibraryCode(BSTR strLibraryCode)
Set the library code of this manufacturer part.
EwErrorCode set2DFootprintSymbolName(BSTR str2DFootprintSymbolName)
Set the 2D Footprint Symbol Name.
EwErrorCode setSymbolCircuitNumber(LONG lSyCircuitNo)
Set the circuit number associated to this object inside the associated symbol.