4 midl_pragma warning(disable:2111)
10import "EnumDefinition.idl";
11import "EwClassificationObjects.idl";
27 uuid(97D8E9CC-9C15-4DEF-AC7C-7BB7ED11164A),
31 helpstring(
"IEwSymbolPointX Interface"),
32 pointer_default(unique)
177 uuid(960C29C7-51FA-452E-865E-59F7C0669A7A),
181 helpstring(
"IEwSymbolCircuitX Interface"),
182 pointer_default(unique)
248 uuid(02C2A32C-B421-42C8-9A7B-48BCF979D50C),
252 helpstring(
"IEwSymbolFiltersX Interface"),
253 pointer_default(unique)
565 uuid(90C1D0BC-FDC7-4410-BB37-2A86CA6CA1EC),
569 helpstring(
"IEwSymbolX Interface"),
570 pointer_default(unique)
1035 uuid(D4CAA186-3BD6-462A-A3DC-E1DB39B7941E),
1039 helpstring(
"IEwSymbolManagerX Interface"),
1040 pointer_default(unique)
EwBooleanFiltersValue
All value for boolean filters.
Definition: EnumDefinition.idl:86
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
EwSymbolCrossRefType
All cross reference type of symbol.
Definition: EwEnumeration.idl:458
EwCircuitPassingType
All passing types of symbol circuit.
Definition: EwEnumeration.idl:696
EwSymbolType
All types of symbol.
Definition: EwEnumeration.idl:429
EwPointOrientation
Flow direction of symbol connexion point type.
Definition: EwEnumeration.idl:684
EwMeasurementType
All measurement type.
Definition: EwEnumeration.idl:280
Use this interface to manage an IEwClassificationX object.
Definition: EwClassificationObjects.idl:214
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:293
Use this interface to manage a circuit inside a symbol.
Definition: EwSymbolObjects.idl:185
EwErrorCode setType(BSTR strKeyCode)
Set the type of the current circuit.
EwErrorCode setEwCircuitPassingType(EwCircuitPassingType ePassingType)
Set the EwCircuitPassingType enum type of the current circuit.
EwCircuitPassingType getEwCircuitPassingType(EwErrorCode *errorCode)
Get the EwCircuitPassingType enum type of the current circuit.
LONG getNumber(EwErrorCode *errorCode)
Get the number of the current circuit.
BSTR getType(EwErrorCode *errorCode)
Get the type of the current circuit.
Use this interface to manage filter for EwSymbolX.
Definition: EwSymbolObjects.idl:255
DATE getModificationDateTo()
Get the "modification date to" of the filter.
void setEwMeasurementType(EwMeasurementType eMeasurementTypes)
Set/reset the measurement of the filter.
BSTR getSymbolName()
Get the symbol name of the filter.
void setDisplayEwSymbolPoint(EwBooleanFiltersValue eBooleanFiltersValues)
Set the display connection point value of the filter.
void setEwSymbolCrossRefType(EwSymbolCrossRefType eSymbolCrossRefTypes)
Set/reset the type of cross reference of the filter.
void setManufacturer(BSTR strManufacturer)
Set/reset the manufacturer of the filter.
BSTR getReference()
Get the reference of the filter.
void setRootMark(BSTR strRootMark)
Set/reset the root mark of the filter.
void setCreationDateTo(DATE creationDateTo)
Set/reset the "creation date to" of the filter.
void setEwSymbolCircuitCount(LONG lNbCircuit)
Set/reset the number of circuit of the filter.
void setReference(BSTR strReference)
Set/reset the reference of the filter.
EwSymbolCrossRefType getEwSymbolCrossRefType()
Get the type of cross reference of the filter.
BSTR getLibraryCode()
Get the library code of the filter.
void setDoNotRotateAttributes(EwBooleanFiltersValue eBooleanFiltersValue)
Set the value of "do not rotate attributes" of the filter.
BSTR getAssociatedMacro()
Get the associated macro of the filter.
BSTR getManufacturer()
Get the manufacturer of the filter.
EwBooleanFiltersValue getDoNotRotateAttributes()
Get the value of "do not rotate attributes" of the filter.
DATE getCreationDateTo()
Get the "creation date to" of the filter.
LONG getEwSymbolCircuitCount()
Get the number of circuit of the filter.
void setCreationDateFrom(DATE creationDateFrom)
Set/reset the "creation date from" of the filter.
LONG getEwSymbolPointCount()
Get the number of connection point of the filter.
EwMeasurementType getEwMeasurementType()
Get the measurement of the filter.
EwErrorCode getEwSymbolArray(VARIANT *vArray)
Return Array of Symbol according to filter.
BSTR getTerminalStripDrawingSymbol()
Get the TerminalStrip drawing symbol of the filter.
void setAssociatedMacro(BSTR strAssociatedMacro)
Set/reset the associated macro of the filter.
EwBooleanFiltersValue getDisplayEwSymbolPoint()
Get the display connection point value of the filter.
void setEwSymbolType(EwSymbolType eSymbolTypes)
Set/reset the symbol type of the filter.
void setModificationDateFrom(DATE modificationDateFrom)
Set/reset the modification date from of the filter.
EwSymbolType getEwSymbolType()
Get the symbol type of the filter.
EwErrorCode setDescription(BSTR lgCode, BSTR val)
Set/reset the description of the filter.
DATE getModificationDateFrom()
Get the modification date from of the filter.
void setClassNodeID(LONG lNodeID)
Set/reset the class ID of the filter.
BSTR getRootMark()
Get the root mark of the filter.
void setTerminalStripDrawingSymbol(BSTR strTerminalStripDrawingSymbol)
Set/reset the TerminalStrip drawing symbol of the filter.
LONG getClassNodeID()
Get the class ID of the filter.
void setModificationDateTo(DATE modificationDateTo)
Set/reset the "modification date to" of the filter.
void setSymbolName(BSTR strName)
Set/reset the symbol name of the filter.
BSTR getDescription(BSTR lgCode, EwErrorCode *errorCode)
Get the description of the filter.
DATE getCreationDateFrom()
Get the "creation date from" of the filter.
void setLibraryCode(BSTR strLibraryCode)
Set/reset the library code of the filter.
void setEwSymbolPointCount(LONG lConnectionPoint)
Set/reset the number of connection point of the filter.
Use this interface to manage EwSymbolX objects.
Definition: EwSymbolObjects.idl:1043
IEwSymbolFiltersX newEwSymbolFilters()
Create a IEwSymbolFiltesrX object to get symbols af associated environment.
IEwSymbolX at(int iIndex, EwErrorCode *errorCode)
Return an IEwSymbolX at a given position from the associated environment.
IEwSymbolX findEwSymbolXById(long lId, EwErrorCode *errorCode)
Find an IEwSymbolX by ID.
VARIANT getEwSymbolArray(EwErrorCode *errorCode)
return the array of IEwSymbolX of associated environment
IEwSymbolX newEwSymbol()
Create a IEwSymbolX object from the associated environnement.
IEwSymbolX findEwSymbolXByName(BSTR strName, EwErrorCode *errorCode)
Find an IEwSymbolX by his Name.
Use this interface to manage a connection point.
Definition: EwSymbolObjects.idl:34
EwErrorCode setEwPointOrientation(EwPointOrientation ePointOrientation)
Set the flow direction of the connection point.
EwErrorCode setTerminationTypeCode(BSTR strTerminationTypeCode)
Set the termination type code of the connection point.
EwErrorCode getNumber(LONG *lNo)
Get the number of the connection point.
BSTR getTerminationTypeCode(EwErrorCode *errorCode)
Get the termination type code of the connection point.
DOUBLE getAngle(EwErrorCode *errorCode)
Get the angle of the connection point.
EwErrorCode setYPos(DOUBLE dYValue)
Set the Y coordinate of the connection point.
EwErrorCode setEwSymbolCircuitNumber(LONG lCircuitNo)
Set the circuit number of the connection point.
LONG getEwSymbolCircuitNumber(EwErrorCode *errorCode)
Get the circuit number of the connection point.
EwErrorCode setAngle(DOUBLE dAngle)
Set the angle of the connection point.
DOUBLE getYPos(EwErrorCode *errorCode)
Get the Y coordinate of the connection point.
EwPointOrientation getEwPointOrientation(EwErrorCode *errorCode)
Get the flow direction of the connection point.
DOUBLE getXPos(EwErrorCode *errorCode)
Get the X coordinate of the connection point.
EwErrorCode setXPos(DOUBLE dXValue)
Set the X coordinate of the connection point.
Use this interface to manage a symbol.
Definition: EwSymbolObjects.idl:573
EwErrorCode setEwMeasurementType(EwMeasurementType eMeasurementType)
Set the measurement type of the symbol.
EwErrorCode setDoNotRotateAttributes(VARIANT_BOOL bRotate)
Set value of option "Do not rotate attributes".
EwErrorCode setClassNodeID(LONG lNodeId)
LONG getEwSymbolCircuitCount()
Count the number of circuit in this symbol.
EwErrorCode setLibraryCode(BSTR strLibraryCode)
Set the library code of the symbol.
EwSymbolCrossRefType getEwSymbolCrossRefType(EwErrorCode *errorCode)
Return the cross reference type of the symbol.
EwErrorCode setEwSymbolCrossRefType(EwSymbolCrossRefType eSymbolCrossRefType)
Set the cross reference type of the symbol.
BSTR getAssociatedMacro(EwErrorCode *errorCode)
Return the associated macro of the symbol.
EwErrorCode setDescription(BSTR lgCode, BSTR strValue)
Set a description of the symbol.
BSTR getName(EwErrorCode *errorCode)
Get the name of the symbol.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current symbol.
IEwSymbolCircuitX getEwSymbolCircuitAt(LONG index, EwErrorCode *errorCode)
Get a circuit inside the symbol.
EwErrorCode setRootMark(BSTR strRootMark)
Set the root mark of the symbol.
EwMeasurementType getEwMeasurementType(EwErrorCode *errorCode)
Return the measurement type of the symbol.
EwErrorCode showConnectionPoint(VARIANT_BOOL bVisible)
Show connection point.
EwErrorCode setEwSymbolType(EwSymbolType eSymbolType)
Set the type of the symbol.
BSTR getReference(EwErrorCode *errorCode)
Get the reference of the symbol.
EwErrorCode setClassID(LONG lID)
Set the class ID of this current symbol.
VARIANT_BOOL isConnectionPointVisible(EwErrorCode *errorCode)
Check if connection point are displayed.
EwErrorCode setStandard(BSTR strStandard)
Set the standard of the symbol.
EwErrorCode deleteEwSymbolPoint(LONG index)
Delete a connection point from the symbol.
IEwSymbolCircuitX addEwSymbolCircuit(BSTR strCircuitCode, EwErrorCode *errorCode)
Create and add a circuit in the symbol.
LONG getID(EwErrorCode *errorCode)
Get ID of the symbol.
BSTR getLibraryCode(EwErrorCode *errorCode)
BOOL isAlreadyOpened(EwErrorCode *errorCode)
Check if the drawing is already opened.
EwErrorCode deleteEwSymbolCircuitAt(LONG index)
Delete a circuit from the symbol.
EwErrorCode setName(BSTR strSymbolName)
Set the name of the symbol.
BSTR getStandard(EwErrorCode *errorCode)
Get the standard of the symbol.
EwSymbolType getEwSymbolType(EwErrorCode *errorCode)
Get the type of the symbol.
EwErrorCode insertFromDwg(BSTR strDwgFilePath)
Insert the object inside the current environment.
LONG getClassID(EwErrorCode *errorCode)
Get the class ID of current symbol.
EwErrorCode setReference(BSTR strReference)
Set the reference of the symbol.
LONG getClassNodeID(EwErrorCode *errorCode)
LONG getEwSymbolPointCount()
Count the number of connection point in the symbol.
EwErrorCode setAssociatedMacro(BSTR strAssociatedMacro)
Set the associated macro of the symbol.
BSTR getDescription(BSTR lgCode, EwErrorCode *errorCode)
Get a description of the symbol.
EwErrorCode getDoNotRotateAttributes(VARIANT_BOOL *bRotate)
Get value of option "Do not rotate attributes".
IEwSymbolPointX addEwSymbolPoint(EwErrorCode *errorCode)
Create and add a connection point for the symbol.
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer of the symbol.
BSTR getRootMark(EwErrorCode *errorCode)
Get the root mark of the symbol.
IEwSymbolPointX getEwSymbolPointAt(LONG index, EwErrorCode *errorCode)
Get a connection point inside the symbol.
EwErrorCode setManufacturer(BSTR strManufacturer)
Set the manufacturer of the symbol.