 |
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";
18 uuid(BD996DFE-0BDD-4983-A460-680C2A9B19A0),
21 pointer_default(unique)
185 uuid(CA659828-F3E4-4EFB-95F2-065AA680366E),
188 pointer_default(unique)
246 uuid(5A6E7500-8AD2-45D5-BD2B-26EC4D48D83A),
249 pointer_default(unique)
293 uuid(A166A78B-30A4-4A18-92F3-5F0B26C6B03E),
296 pointer_default(unique)
408 uuid(33FE2367-ED47-4BD2-9469-787A0AEFB1FF),
411 pointer_default(unique)
485 uuid(BACCE4FF-4ACC-4BB4-8573-FF8399EECEBA),
488 pointer_default(unique)
668 uuid(91474E70-76FC-4816-8405-8AFF3975C0C6),
671 pointer_default(unique)
828 uuid(B62B5A84-7357-4A80-8E27-CF0A5332F734),
831 pointer_default(unique)
EwErrorCode process(EwNumberMarkAction eNumberAction)
Process function to renumber marks in the current project.
VARIANT_BOOL getActionOnManualNumber(EwErrorCode *errorCode)
Return true if the action should be done on the Manual number.
EwErrorCode setActionRemoveWireCableCore(VARIANT_BOOL bActionRemove)
Set this value to true if the action should be to remove the cable core association.
EwErrorCode setDestinationSymbol(BSTR strBlockName)
Set the block name of symbol used for destination symbol.
EwWireDirType
All the cabling direction.
Definition: EwEnumeration.idl:891
VARIANT_BOOL getActionRemoveBridges(EwErrorCode *errorCode)
Return true if the action should be to remove bridges.
EwErrorCode setSelectionType(EwSelectionType eSelectionType)
Set the EwSelectionType enum to specify the type of selection to use.
EwAutoArrowActionType
Enum which contains all action for the origin destination automatic insertion.
Definition: EwEnumeration.idl:869
EwProjectDataActionType
Action type to update or replace data in project.
Definition: EwEnumeration.idl:802
EwErrorCode setResetPosition(VARIANT_BOOL bResetPosition)
Set this value to true to reset the position of wire marks.
EwErrorCode addProjectDataObjectType(EwProjectDataObjectType eDataProjectObjectType)
Add the type of object to modify.
int getFirstNumber(EwSelectionType eSelection, EwErrorCode *errorCode)
Get the first number for one selection enum.
VARIANT_BOOL getActionOnManualNumber(EwErrorCode *errorCode)
Return true if the action should be done on the Manual marks.
EwErrorCode setActionOnManualNumber(VARIANT_BOOL bActionOnManualNumber)
Set this value to true if the action should be done on the Manual marks.
EwEventCode
Events leading to snapshot.
Definition: EwEnumeration.idl:789
EwAutoArrowMarkType getEquipotentialConnectionType(EwErrorCode *errorCode)
Return the EwAutoArrowMarkType enum to specify the equipotential connection with mark.
Use this interface to manage the update of project data from libraries.
Definition: EwProjectProcessObjects.idl:252
EwErrorCode setSelectionType(EwSelectionType eSelectionType)
Set the EwSelectionType enum to specify the type of selection to use.
EwErrorCode setNumberObjectType(long lNumberObjectType)
Set the EwObjectType enum to specify the type of object to apply.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwErrorCode resetProjectDataObjectType()
Reset the type of object to modify.
EwSelectionType getSelectionType(EwErrorCode *errorCode)
Return the EwSelectionType enum to specify the type of selection to use.
EwSelectionType getSelectionType(EwErrorCode *errorCode)
Return the EwSelectionType enum to specify the type of selection to use.
VARIANT_BOOL getActionRemoveWireCableCore(EwErrorCode *errorCode)
Return true if the action should be to remove the cable core association.
EwErrorCode setActionOnManual(VARIANT_BOOL bActionOnManual)
Set this value to true if the action should be done on the Manual wire cabling order.
VARIANT_BOOL getActionOnManualNumber(EwErrorCode *errorCode)
Return true if the action should be done on the Manual marks.
VARIANT_BOOL getGenerateAutomatedDrawings(EwErrorCode *errorCode)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
IEwProjectSnapshotX findProjectSnapshotByID(LONG lId, EwErrorCode *errorCode)
Return an IEwProjectSnapshotX object by id .
EwErrorCode create()
Create a snapshot of the current project.
EwEventCode getEventType(EwErrorCode *errorCode)
Get the event type of this snapshot.
VARIANT_BOOL getActionOnManual(EwErrorCode *errorCode)
Return true if the action should be done on the Manual wire cabling order.
EwProjectDataObjectType
Type of object to update or replace data in project.
Definition: EwEnumeration.idl:814
EwWireDirType getWireDirectionType(EwErrorCode *errorCode)
Return the EwWireDirectionType enum to specify the cabling direction.
Use this interface to manage the numbering or renumbering of wires.
Definition: EwProjectProcessObjects.idl:299
EwErrorCode setActionRemoveBridges(VARIANT_BOOL bActionRemove)
Set this value to true if the action should be to remove bridges.
EwAutoArrowLocConnectType
Enum which contains all connection types related with the file location for the Origin Destination au...
Definition: EwEnumeration.idl:848
EwErrorCode setActionOnManual(VARIANT_BOOL bActionOnManual)
Set this value to true if the action should be done on the Manual arrows.
EwObjectType
Enum which contains all kind of object.
Definition: EwEnumeration.idl:828
VARIANT getSelection(EwErrorCode *errorCode)
Return the array of ID used to specify the selection of objects to include in renumbering process.
DATE getCreationDate(EwErrorCode *errorCode)
Get the creation date of this snapshot object.
EwSelectionType getSelectionType(EwErrorCode *errorCode)
Return the EwSelectionType enum to specify the type of selection to use.
EwErrorCode setWireDirectionType(EwWireDirType eWireDirectionType)
Set the EwWireDirectionType enum to specify the cabling direction.
EwErrorCode update()
Update the object inside the current project.
EwErrorCode setSelection(VARIANT vIDArray)
Set the array of ID according to selection type.
EwErrorCode process(EwProjectDataActionType eDataProjectActionType)
Process function to update or replace data in the current project.
EwErrorCode setLocationConnectionType(EwAutoArrowLocConnectType eAutomaticArrowLocConnectionType)
Set the EwAutoArrowLocConnectType enum to specify the connection type relate with the file location f...
EwErrorCode restore()
Restore a snapshot of the current project.
EwErrorCode setGenerateAutomatedDrawings(VARIANT_BOOL bGenerateAutomatedDrawings)
Option to update all generated files like Terminal strips or Reports which have been added to the pro...
Use this interface to manage the renumber marks.
Definition: EwProjectProcessObjects.idl:414
EwErrorCode setIncrement(EwSelectionType eSelection, int iIncrement)
Set the increment for one selection enum.
EwErrorCode setActionOnManualNumber(VARIANT_BOOL bActionOnManualNumber)
Set this value to true if the action should be done on the Manual marks.
VARIANT getSelection(EwErrorCode *errorCode)
Return the array of ID used to specify the selection of objects to include in renumbering process.
EwNumberWireAction
All the possible actions for renumber wires.
Definition: EnumDefinition.idl:258
EwErrorCode setSelection(VARIANT vIDArray)
Set the array of ID according to selection type.
Use this interface to manage snapshot manager inside a project.
Definition: EwProjectProcessObjects.idl:191
BSTR getOriginSymbol(EwErrorCode *errorCode)
Get the block name of symbol used for origin symbol.
EwErrorCode setFirstNumber(EwSelectionType eSelection, int iFirstNumber)
Set the first number for one selection enum.
EwErrorCode setEquipotentialConnectionType(EwAutoArrowMarkType eAutomaticArrowMarkType)
Set the the EwAutoArrowMarkType enum to specify the equipotential connection with mark.
EwSelectionType
All the selection types.
Definition: EnumDefinition.idl:273
Use this interface to manage snapshot inside a project.
Definition: EwProjectProcessObjects.idl:24
EwErrorCode process(EwNumberWireAction eEwNumberAction)
Process function to number or renumber wires in the current project.
Use this interface to manage the Origin Destination automatic insertion.
Definition: EwProjectProcessObjects.idl:491
EwNumberMarkAction
All the possible actions for renumber marks.
Definition: EwEnumeration.idl:880
EwErrorCode addNumberObjectType(EwObjectType eNumberObjectType)
Add the EwObjectType enum to specify the type of object to apply.
EwErrorCode process(EwAutoArrowActionType eAutomaticArrowActionType)
Process function to insert Origin Destination automatic arrows in the current project.
EwErrorCode setSelectionType(EwSelectionType eSelectionType)
Set the EwSelectionType enum to specify the type of selection to use.
EwErrorCode process(EwNumberMarkAction eNumberAction)
Process function to renumber marks in the current project.
IEwProjectSnapshotX newEwProjectSnapshot(EwErrorCode *errorCode)
Create an IEwProjectSnapshotX object from the associated project.
BSTR getName(EwErrorCode *errorCode)
Get the name of this snapshot.
VARIANT_BOOL getResetPosition(EwErrorCode *errorCode)
Return true if reset position of wire marks is activated.
EwErrorCode setSelection(VARIANT vIDArray)
Set the array of ID according to selection type.
EwErrorCode setName(BSTR strName)
Set the name of this snapshot.
Use this interface to manage the renumber documents.
Definition: EwProjectProcessObjects.idl:674
EwSelectionType getSelectionType(EwErrorCode *errorCode)
Return the EwSelectionType enum to specify the type of selection to use.
long getFileSize(EwErrorCode *errorCode)
Get the estimate file size in MB of this snapshot.
EwErrorCode setSelectionType(EwSelectionType eSelectionType)
Set the EwSelectionType enum to specify the type of selection to use.
EwErrorCode setActionOnManualNumber(VARIANT_BOOL bActionOnManualNumber)
Set this value to true if the action should be done on the Manual number.
LONG getCount(EwErrorCode *errorCode)
Return the number of snapshot of associated project.
BSTR getEventDetails(EwErrorCode *errorCode)
Get the event details of this snapshot.
EwAutoArrowLocConnectType getLocationConnectionType(EwErrorCode *errorCode)
Return the EwAutoArrowLocConnectType enum to specify the connection type relate with the file locatio...
EwErrorCode setSelection(VARIANT vIDArray)
Set the array of ID according to selection type.
IEwProjectSnapshotX at(int iIndex, EwErrorCode *errorCode)
Return an IEwProjectSnapshotX object from the associated project.
int getIncrement(EwSelectionType eSelection, EwErrorCode *errorCode)
Get the increment for one selection enum.
BSTR getDestinationSymbol(EwErrorCode *errorCode)
Get the block name of symbol used for destination symbol.
Use this interface to manage the optimize wire order.
Definition: EwProjectProcessObjects.idl:834
VARIANT getSelection(EwErrorCode *errorCode)
Return the array of ID used to specify the selection of objects to process.
EwAutoArrowMarkType
Enum which contains marks type that we want to be aware for the origin destination automatic insertio...
Definition: EwEnumeration.idl:859
long getNumberObjectType(EwErrorCode *errorCode)
Return the combination of EwObjectType enum to specify the type of objects to apply.
EwErrorCode setOriginSymbol(BSTR strBlockName)
Set the block name of symbol used for origin symbol.
VARIANT_BOOL getActionOnManual(EwErrorCode *errorCode)
Return true if the action should be done on the Manual arrows.
VARIANT getSelection(EwErrorCode *errorCode)
Return the array of ID used to specify the selection of objects to include in Origin Destination auto...
EwErrorCode process()
Process function to optimize wire order in the current project.