 |
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";
12 import "EnumDefinition.idl";
13 import "EwClassificationObjects.idl";
21 uuid(2097bc6a-03c3-11e5-8418-1697f925ec7b),
25 helpstring(
"IEwProjectComponentTerminalX Interface"),
26 pointer_default(unique)
40 uuid(e8994c3e-03c2-11e5-8418-1697f925ec7b),
44 helpstring(
"IEwProjectComponentCircuitX Interface"),
45 pointer_default(unique)
290 uuid(a6c4df3a-03c2-11e5-8418-1697f925ec7b),
294 helpstring(
"IEwProjectComponentX Interface"),
295 pointer_default(unique)
582 uuid(b16df1f6-260e-11e5-b345-feff819cdc9f),
586 helpstring(
"IEwProjectComponentManagerX Interface"),
587 pointer_default(unique)
EwErrorCode setPermanentComponent(VARIANT_BOOL bPermanent)
Set permanent the component.
EwAutoBridge getBridgeConnection(EwErrorCode *errorCode)
Return the bridge connection enum type of the component.
VARIANT_BOOL getPropagateData(EwErrorCode *errorCode)
Return the Propagate Data of the component.
EwErrorCode setType(EwComponentType eComponentType)
Set the EwComponentType enum type of the component.
Generic interface for an object that belongs to a project.
Definition: EwObjectBase.idl:103
EwErrorCode setPropagateData(VARIANT_BOOL bPropogateData)
Set the propagate data of Component.
VARIANT_BOOL hasBreakPage(EwErrorCode *errorCode)
Return if this circuit component has a break page.
EwErrorCode setAutomaticAddress(VARIANT_BOOL bIsAutomaticAddress)
Sets to fill in automatic the channel address.
long getSymbolID(EwErrorCode *errorCode)
Return the Symbol ID associated with the circuit component.
VARIANT_BOOL getToDraw(EwErrorCode *errorCode)
Return true if it is drawable.
long getCircuitSymbolID(EwErrorCode *errorCode)
Return the Circuit Symbol ID associated with the circuit component.
LONG getLocationID(EwErrorCode *errorCode)
Return the location ID of the component.
LONG getClassNodeID(EwErrorCode *errorCode)
Get the classification node ID of this component class.
Use this interface to manage ComponentTerminal inside a project.
Definition: EwProjectComponentObjects.idl:29
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:82
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
LONG getParentID(EwErrorCode *errorCode)
Return the parent ID.
BSTR getConfigurationFileName(EwErrorCode *pErrorCode)
Return the configuration filename of Component use for terminals strip drawings, connector insertion ...
BSTR getTagPath(EwErrorCode *errorCode)
Get the Mark path of the component, example: -N1-R1-M1.
EwErrorCode setKeyCode(BSTR strKey)
Sets the Key for the cross reference.
EwErrorCode setChannelGroup(BSTR strChannelGroup)
Sets the new Channel Group.
EwComponentType
All types of component type.
Definition: EwEnumeration.idl:936
IEwProjectComponentX findEwProjectComponentByID(LONG lID, EwErrorCode *errorCode)
Find a Component object in the project with the target ID.
LONG getEwProjectComponentTerminalCount()
Count the number of terminals.
EwComponentType getType(EwErrorCode *errorCode)
Return the EwComponentType enum type of the component.
BSTR getChannelGroup(EwErrorCode *errorCode)
Return the Channel Group.
long getComponentID(EwErrorCode *errorCode)
Return the Component ID associated with the circuit component.
BSTR getChannelAddress(EwErrorCode *errorCode)
Return the Channel Address.
Use this interface to manage a component inside a project.
Definition: EwProjectComponentObjects.idl:298
Use this interface to manage the components inside a project.
Definition: EwProjectComponentObjects.idl:590
IEwProjectComponentTerminalX addEwProjectComponentTerminal(EwErrorCode *errorCode)
Create and add a terminal.
VARIANT_BOOL getPermanentComponent(EwErrorCode *errorCode)
Return true if the component is permanent.
EwErrorCode setToDraw(VARIANT_BOOL bToDraw)
Set this value to true to draw the terminal strip drawing of this component.
EwErrorCode setHidden(VARIANT_BOOL bIsHidden)
Sets to Hide this circuit component.
VARIANT getEwProjectComponentArray(EwErrorCode *errorCode)
Get all the Component objects ID in the project.
EwErrorCode setChannelAddress(BSTR strChannelAddress)
Sets the new Channel Address.
LONG getChildrenCount(EwErrorCode *errorCode)
Return the number of children components.
VARIANT_BOOL isAutomaticAddress(EwErrorCode *errorCode)
Return if the channel address is fill in automatic.
VARIANT getEwProjectComponentCircuitArray(EwErrorCode *errorCode)
Get the array of IEwProjectComponentCircuitX ID of the current project.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current component.
EwErrorCode setBridgeConnection(EwAutoBridge eAutoBridge)
Set the bridge connection enum type of Component.
IEwProjectComponentTerminalX getEwProjectComponentTerminalAt(LONG index, EwErrorCode *errorCode)
Get a terminal.
Use this interface to manage component element inside a project.
Definition: EwProjectComponentObjects.idl:48
long getCircuitManufacturerPartID(EwErrorCode *errorCode)
Return the Circuit ManufacturerPart ID associated with the circuit component.
EwErrorCode setBreakPage(VARIANT_BOOL bBreakPage)
Add/Remove break page.
EwErrorCode setConfigurationFileName(BSTR strConfigName)
Set the configuration filename of Component.
EwErrorCode setClassNodeID(LONG lNodeId)
Set the classification node ID of this component.
IEwProjectComponentCircuitX findEwProjectComponentCircuitByID(LONG lID, EwErrorCode *errorCode)
return an EwProjectComponentCircuitX according to an Id
EwErrorCode deleteEwProjectComponentTerminalAt(LONG index)
Delete a terminal.
IEwProjectComponentCircuitX newEwProjectComponentCircuitX()
Create an interface for a new Component Circuit object in the current project.
LONG getFunctionID(EwErrorCode *errorCode)
Return the function ID of the component.
long getManufacturerPartID(EwErrorCode *errorCode)
Return the ManufacturerPart ID associated with the circuit component.
IEwProjectComponentX newEwProjectComponent()
Create an interface for a new Component object in the current project.
EwErrorCode setParentID(LONG lParenID)
Set the parent ID.
BSTR getKeyCode(EwErrorCode *errorCode)
Return the Key for the cross reference.