 |
SOLIDWORKS Electrical API
2020.0.5
Electrical API
|
Go to the documentation of this file.
4 midl_pragma warning(disable:2111)
10 import "EnumDefinition.idl";
29 uuid(DABCB1C7-AC49-4B1A-9460-F0AF4BF05B18),
33 helpstring(
"IEwManufacturerPartTerminalX Interface"),
34 pointer_default(unique)
188 uuid(3AA64D24-E0F0-43D4-AC82-B4D5E804ADAB),
192 helpstring(
"IEwManufacturerPartCircuitX Interface"),
193 pointer_default(unique)
392 uuid(8961A429-4144-4A41-8C8B-B2414EC74DDD),
396 helpstring(
"IEwManufacturerPartX Interface"),
397 pointer_default(unique)
1110 uuid(A35D4915-A636-405E-BEAD-FB0A5954DCCF),
1114 helpstring(
"IEwManufacturerPartManagerX Interface"),
1115 pointer_default(unique)
BSTR getModifiedBy(EwErrorCode *eErrorCode)
Get the last user name that modified the current object.
BSTR get3DPartPath(EwErrorCode *errorCode)
Get the 3D part associated with this manufacturer part.
BSTR getSerie(EwErrorCode *errorCode)
Get the serie of this manufacturer part.
BSTR getUseFrequency(EwErrorCode *ewErrorCode)
Get the UseFrequency of this manufacturer part.
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.
EwErrorCode update()
Update this object inside the current environment.
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:400
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
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:612
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.
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.
EwErrorCode setSerie(BSTR bstrSerie)
Set the serie of this manufacturer part.
DATE getModificationDate(EwErrorCode *errorCode)
Get the last modification date of this manufacturer part.
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:1118
BSTR getControlVoltage(EwErrorCode *errorCode)
Get the ControlVoltage of this manufacturer part.
EwErrorCode insert()
Insert this object inside the current environment.
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.
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.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
EwErrorCode setClassNodeID(LONG lNodeId)
Set the classification node ID of this manufacturer part.
LONG getEwManufacturerPartTerminalCount()
Count the number of terminals in this circuits.
VARIANT getEwManufacturerPartArray(EwErrorCode *errorCode)
return the array of IEwManufacturerPartX of associated environment
EwErrorCode setWidth(DOUBLE dWidth)
Set the width of this manufacturer part.
EwCreatorType getEwCreatorType(EwErrorCode *errorCode)
Get the creator of this manufacturer part.
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.
Use this interface to manage a terminal inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:36
EwErrorCode setMaxWireNumber(LONG lMaxWireNumber)
Set a max wire number of this terminal.
EwErrorCode setSymbolName(BSTR strSymbolName)
Set a symbol name of this circuit.
EwErrorCode setEwManufacturerPartType(EwManufacturerPartType ewManufacturerPartType)
Set the base type of this manufacturer part.
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer of this manufacturer part.
DATE getCreationDate(EwErrorCode *errorCode)
Get the creation date 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 setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text.
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:239
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.
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.