DwgList 2021 DLL TechDocs

Data API Methods

Data Methods
dwglist_getNumberOfXrefs Get Number of XRefs
dwglist_getXrefName Get XRef Name
dwglist_getNumberOfBlocks Get Number of Blocks
dwglist_getBlockName Get Block Name
dwglist_getNumberOfRasterReferences Get Number of Raster References
dwglist_getRasterReferenceName Get Raster Reference Name
dwglist_getNumberOfFonts Get Number of Fonts
dwglist_getFontName Get Font Name
dwglist_getFontPath Get Font Path
dwglist_getNumberOfInsertsForBlock Get Number of inserts for Block
dwglist_selectBlockReference Select Block Reference
dwglist_getNumberOfAttributesForCurrentInsert Get Number of Attributes for current block insert
dwglist_getAttributeTagForCurrentInsert Get Attribute tag for current block insert
dwglist_getAttributeValueForCurrentInsert Get Attribute value for current block insert

Get Number Of XRefs

METHOD    dwglist_getNumberOfXrefs()
Purpose This methods returns the number of external references.
extern "C" DWGLIST_API int  dwglist_getNumberOfXrefs();

Get Xref Name

METHOD    dwglist_getXrefName(unsigned int count)
Purpose This returns the name of the XRef based on its list position.
extern "C" DWGLIST_API const char* dwglist_getXrefName(unsigned int count);

Get Number Of Blocks

METHOD    dwglist_getNumberOfBlocks()
Purpose This method returns the number of blocks .
extern "C" DWGLIST_API int dwglist_getNumberOfBlocks();

Get Block Name

METHOD    dwglist_getBlockName(unsigned int count)
Purpose This method returns the block name based on its list position.
extern "C" DWGLIST_API const char* dwglist_getBlockName(unsigned int count);

Get Number Of Raster References

METHOD    dwglist_getNumberOfRasterReferences()
Purpose This method returns the number of raster references.
eextern "C" DWGLIST_API int dwglist_getNumberOfRasterReferences();

Get Raster Reference Name

METHOD    dwglist_getRasterReferenceName(unsigned int count)
Purpose This method returns the raster reference name based on its list position.
extern "C" DWGLIST_API const char* dwglist_getRasterReferenceName(unsigned int count);

Get Number Of Fonts

METHOD    dwglist_getNumberOfFonts()
Purpose This method returns the number of fonts.
extern "C" DWGLIST_API int dwglist_getNumberOfFonts();

Get Font Name

METHOD    dwglist_getFontName(unsigned int count)
Purpose This method returns the font name name based on its list position.
extern "C" DWGLIST_API const char* dwglist_getFontName(unsigned int count);

Get Font Path

METHOD    dwglist_getFontpath(unsigned int count)
Purpose This method returns the font path name based on its list position.
extern "C" DWGLIST_API const char* dwglist_getFontPath(unsigned int count);

Get Font Path

METHOD    dwglist_getFontpath(unsigned int count)
Purpose This method returns the font path name based on its list position.
extern "C" DWGLIST_API const char* dwglist_getFontPath(unsigned int count);

Get Number Of Inserts For Block

METHOD    dwglist_getNumberOfInsertsForBlock(char* BlockName)
Purpose This method returns the number of block inserts based on its block name.
extern "C" DWGLIST_API int dwglist_getNumberOfInsertsForBlock(char* BlockName);

Select Block Reference

METHOD    dwglist_selectBlockReference(int count)
Purpose This method select a block based on its location in the list.
extern "C" DWGLIST_API const char* dwglist_selectBlockReference(int count);

Get Number Of Attributes For Current Insert

METHOD    dwglist_getNumberOfAttributesForCurrentInsert()
Purpose This method get the number of attributes for the current block insert.
extern "C" DWGLIST_API int dwglist_getNumberOfAttributesForCurrentInsert();

Get Attribute Tag For Current Insert

METHOD    dwglist_getAttributeTagForCurrentInsert(int count)
Purpose This method get the attribute tag for the current block insert attribute number.
extern "C" DWGLIST_API const char* dwglist_getAttributeTagForCurrentInsert(int count);

Get Attribute Value For Current Insert

METHOD    dwglist_getAttributeValueForCurrentInsert(int count)
Purpose This method get the attribute value for the current block insert attribute number.
extern "C" DWGLIST_API const char* dwglist_getAttributeValueForCurrentInsert(int count);
Last updated on 12 Jan 2021
Published on 12 Jan 2021