 |
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(CF61F596-F971-48F6-8752-97270D27207A),
33 helpstring(
"IEwTitleBlockX Interface"),
34 pointer_default(unique)
545 uuid(3A4CA3EB-B7F4-4197-A006-FDDA37190D03),
549 helpstring(
"IEwTitleBlockManagerX Interface"),
550 pointer_default(unique)
IEwTitleBlockX newEwTitleBlock()
Create a IEwTitleBlockX object from the associated environnement.
IEwTitleBlockFiltersX newEwTitleBlockFilters()
Create an IEwTitleBlockFiltersX interface to get title blocks (IEwTitleBlockX) of associated environm...
Use this interface to manage EwTitleBlockX objects.
Definition: EwTitleBlockObjects.idl:553
LONG getFirstColumnNumber(EwErrorCode *errorCode)
Get the first column number of this title block.
EwErrorCode setClassNodeID(LONG lNodeId)
Set the classification node ID of this title block.
DOUBLE getFirstColumnPosition(EwErrorCode *errorCode)
Get the first column position of this title block.
EwErrorCode setEwMeasurementType(EwMeasurementType ewMeasurementType)
Set the measurement type of this title block.
LONG getNumberOfRows(EwErrorCode *errorCode)
Get the number of rows of this title block.
LONG getID(EwErrorCode *errorCode)
Get the Id of this circuit.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
IEwTitleBlockX findByFileTitle(BSTR strName)
Finds a title block by file title.
EwErrorCode setScale(DOUBLE dNumerator, DOUBLE dDenominator)
Set the scale of this title block.
LONG getNumberOfColumns(EwErrorCode *errorCode)
Get the number of columns of this title block.
EwErrorCode setCrossReferenceOffset(DOUBLE dCrossReferenceOffset)
Get the cross reference offset of this title block.
EwMeasurementType
All measurement type.
Definition: EwEnumeration.idl:252
EwErrorCode load()
Initialize this object inside the current environment.
EwErrorCode insertFromDwg(BSTR strDwgFilePath)
Insert this object inside the current environment.
LONG getClassNodeID(EwErrorCode *errorCode)
Get the classification node ID of this title block.
EwErrorCode setFirstRowNumber(LONG lFirstRowNumber)
Set the first row number of this title block.
DATE getModificationDate(EwErrorCode *errorCode)
Get the last modification date of this title block.
Use this interface to manage a definition of a title block.
Definition: EwTitleBlockObjects.idl:37
BSTR getName(EwErrorCode *errorCode)
Get the name of this title block.
EwErrorCode getScale(DOUBLE *pdNumerator, DOUBLE *pdDenominator)
Get the scale of this title block.
BSTR getDescription(BSTR lgCode, EwErrorCode *errorCode)
Get a description of this title block.
DOUBLE getColumnWidth(EwErrorCode *errorCode)
Get the column width of this title block.
DATE getCreationDate(EwErrorCode *errorCode)
Get the creation date of this title block.
EwErrorCode setColumnWidth(DOUBLE dColumnWidth)
Set the column width of this title block.
EwErrorCode update()
Update this object inside the current environment.
EwMeasurementType getEwMeasurementType(EwErrorCode *errorCode)
Get the measurement type of this title block.
IEwTitleBlockX findEwTitleBlockById(long lId, EwErrorCode *pErrorCode)
Finds a title block by id since 2020 SP0.
DOUBLE getFirstRowPosition(EwErrorCode *errorCode)
Get the first row position of this title block.
EwErrorCode setFirstColumnPosition(DOUBLE dFirstColumnPosition)
Set the first column position of this title block.
LONG getFirstRowNumber(EwErrorCode *errorCode)
Get the first row number of this title block.
EwErrorCode setName(BSTR strName)
Set the name of this title block.
VARIANT_BOOL isWithRows(EwErrorCode *errorCode)
Check if this title block have rows.
EwTitleBlockRowNumbering getEwTitleBlockRowNumbering(EwErrorCode *errorCode)
Get the rows numbering option of this title block.
EwErrorCode setNumberOfRows(LONG lNumberOfRows)
Set the number of rows of this title block.
BSTR getLibraryCode(EwErrorCode *errorCode)
Get the library code of this title block.
EwErrorCode setFirstRowPosition(DOUBLE dFirstRowPosition)
Set the first row position of this title block.
BSTR getModifiedBy(EwErrorCode *eErrorCode)
Get the last user name that modified the current object.
EwErrorCode setWithRows(VARIANT_BOOL hasRows)
Set if this title block have rows.
EwErrorCode insert()
Insert this object inside the current environment.
EwErrorCode setLibraryCode(BSTR strLibraryCode)
Set the library code of this title block.
BOOL isAlreadyOpened(EwErrorCode *errorCode)
Check if the drawing is already opened.
EwCreatorType getEwCreatorType(EwErrorCode *errorCode)
Get the creator of this title block.
EwErrorCode setWithColumns(VARIANT_BOOL hasColumns)
Set if this title block have hasColumns.
DOUBLE getCrossReferenceOffset(EwErrorCode *errorCode)
Get the cross reference offset of this title block.
VARIANT_BOOL isWithColumns(EwErrorCode *errorCode)
Check if this title block have columns.
DOUBLE getRowHeight(EwErrorCode *errorCode)
Get the row height of this title block.
EwTitleBlockRowNumbering
All row numbering option for title block.
Definition: EwEnumeration.idl:656
EwErrorCode setRowHeight(DOUBLE dRowHeight)
Set the row height of this title block.
EwErrorCode setFirstColumnNumber(LONG lFirstColumnNumber)
Set the first column number of this title block.
EwCreatorType
All creator type.
Definition: EwEnumeration.idl:239
EwErrorCode setNumberOfColumns(LONG lNumberOfColumns)
Set the number of columns of this title block.
EwErrorCode getSheetSize(LONG lProjectID, DOUBLE *dWidth, DOUBLE *dHeight)
Gets the size of the dwg that contains the title block.
EwErrorCode setEwTitleBlockRowNumbering(EwTitleBlockRowNumbering titleBlockRowNumbering)
Set the rows numbering option of this title block.
VARIANT getEwTitleBlockArray(EwErrorCode *errorCode)
return the array of IEwTitleBlockX of associated environment
EwErrorCode setDescription(BSTR lgCode, BSTR strValue)
Set a description of this title block.