Class DwgBlock


  • public class DwgBlock
    extends DwgObject
    The DwgBlock class represents a DWG Block
    Author:
    jmorell
    • Constructor Detail

      • DwgBlock

        public DwgBlock()
    • Method Detail

      • readDwgBlockV15

        public void readDwgBlockV15​(int[] data,
                                    int offset)
                             throws Exception
        Read a Block in the DWG format Version 15
        Parameters:
        data - Array of unsigned bytes obtained from the DWG binary file
        offset - The current bit offset where the value begins
        Throws:
        Exception - If an unexpected bit value is found in the DWG file. Occurs when we are looking for LwPolylines.
      • getName

        public String getName()
        Returns:
        Returns the name.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name to set.