Packages

 

com.aspose.cad.fileformats.cad.cadobjects

com.aspose.cad.fileformats.cad.cadobjects

Class CadBlockEntity



  • public class CadBlockEntity
    extends Object

    The Cad block entity.

    • Constructor Detail

      • CadBlockEntity

        public CadBlockEntity()

        Initializes a new instance of the CadBlockEntity class.

    • Method Detail

      • getEndBlockAttribute370

        public CadShortParameter getEndBlockAttribute370()

        Gets or sets the end block attribute 370.

        Returns:
        The end block attribute 370.
      • setEndBlockAttribute370

        public void setEndBlockAttribute370(CadShortParameter value)

        Gets or sets the end block attribute 370.

        Parameters:
        value - The end block attribute 370.
      • getBlockAttribute370

        public CadShortParameter getBlockAttribute370()

        Gets or sets the block attribute 370.

        Returns:
        The block attribute 370.
      • setBlockAttribute370

        public void setBlockAttribute370(CadShortParameter value)

        Gets or sets the block attribute 370.

        Parameters:
        value - The block attribute 370.
      • getDescription

        public CadStringParameter getDescription()

        Gets or sets the description.

        Returns:
        The description.
      • setDescription

        public void setDescription(CadStringParameter value)

        Gets or sets the description.

        Parameters:
        value - The description.
      • getBlockAttribute48

        public CadDoubleParameter getBlockAttribute48()

        Gets or sets the block attribute48.

        Returns:
        The block attribute48.
      • setBlockAttribute48

        public void setBlockAttribute48(CadDoubleParameter value)

        Gets or sets the block attribute48.

        Parameters:
        value - The block attribute48.
      • getEndBlockAttribute48

        public CadDoubleParameter getEndBlockAttribute48()

        Gets or sets the end block attribute 48.

        Returns:
        The end block attribute 48.
      • setEndBlockAttribute48

        public void setEndBlockAttribute48(CadDoubleParameter value)

        Gets or sets the end block attribute 48.

        Parameters:
        value - The end block attribute 48.
      • getBlockAttribute62

        public CadShortParameter getBlockAttribute62()

        Gets or sets the block attribute 62.

        Returns:
        The block attribute 62.
      • setBlockAttribute62

        public void setBlockAttribute62(CadShortParameter value)

        Gets or sets the block attribute 62.

        Parameters:
        value - The block attribute 62.
      • getEndBlockAttribute62

        public CadShortParameter getEndBlockAttribute62()

        Gets or sets the end block attribute 62.

        Returns:
        The end block attribute 62.
      • setEndBlockAttribute62

        public void setEndBlockAttribute62(CadShortParameter value)

        Gets or sets the end block attribute 62.

        Parameters:
        value - The end block attribute 62.
      • getBasePoint

        public Cad3DPoint getBasePoint()

        Gets or sets the base point.

      • setBasePoint

        public void setBasePoint(Cad3DPoint value)

        Gets or sets the base point.

      • getEntities

        public CadBaseEntity[] getEntities()

        Gets or sets the entities.

      • setEntities

        public void setEntities(CadBaseEntity[] value)

        Gets or sets the entities.

      • getFlags

        public short getFlags()

        Gets or sets the flags.

      • setFlags

        public void setFlags(short value)

        Gets or sets the flags.

      • getBlockHandle

        public String getBlockHandle()

        Gets or sets the handle.

      • setBlockHandle

        public void setBlockHandle(String value)

        Gets or sets the handle.

      • getEndBlockModelSegregated

        public boolean getEndBlockModelSegregated()

        Gets or sets a value indicating whether [end block model segregated].

        Returns:
        true if [end block model segregated]; otherwise, false.
      • setEndBlockModelSegregated

        public void setEndBlockModelSegregated(boolean value)

        Gets or sets a value indicating whether [end block model segregated].

        Parameters:
        value - true if [end block model segregated]; otherwise, false.
      • getBlockModelSegregated

        public boolean getBlockModelSegregated()

        Gets or sets a value indicating whether [model segregated].

        Returns:
        true if [model segregated]; otherwise, false.
      • setBlockModelSegregated

        public void setBlockModelSegregated(boolean value)

        Gets or sets a value indicating whether [model segregated].

        Parameters:
        value - true if [model segregated]; otherwise, false.
      • getEndBlockHandle

        public String getEndBlockHandle()

        Gets or sets the handle2.

        Returns:
        The handle2.
      • setEndBlockHandle

        public void setEndBlockHandle(String value)

        Gets or sets the handle2.

        Parameters:
        value - The handle2.
      • getName

        public String getName()

        Gets or sets the name.

      • setName

        public void setName(String value)

        Gets or sets the name.

      • getXRefPathName

        public String getXRefPathName()

        Gets or sets the XRef path.

        Returns:
        The XRef path.
      • setXRefPathName

        public void setXRefPathName(String value)

        Gets or sets the XRef path.

        Parameters:
        value - The XRef path.
      • getSoftOwner

        public CadStringParameter getSoftOwner()

        Gets or sets the soft owner.

        Returns:
        The soft owner (the same for Block and EndBlock)
      • setSoftOwner

        public void setSoftOwner(CadStringParameter value)

        Gets or sets the soft owner.

        Parameters:
        value - The soft owner (the same for Block and EndBlock)
      • getLayerName

        public String getLayerName()

        Gets or sets the layer.

        Returns:
        The layer.
      • setLayerName

        public void setLayerName(String value)

        Gets or sets the layer.

        Parameters:
        value - The layer.
      • getEndBlockLayerName

        public CadStringParameter getEndBlockLayerName()

        Gets or sets the end name of the block layer.

        Returns:
        The end name of the block layer.
      • setEndBlockLayerName

        public void setEndBlockLayerName(CadStringParameter value)

        Gets or sets the end name of the block layer.

        Parameters:
        value - The end name of the block layer.
      • getAttribute6

        public CadStringParameter getAttribute6()

        Gets or sets the attribute6.

        Returns:
        The attribute6.
      • setAttribute6

        public void setAttribute6(CadStringParameter value)

        Gets or sets the attribute6.

        Parameters:
        value - The attribute6.
      • getEndBlockAttribute6

        public CadStringParameter getEndBlockAttribute6()

        Gets or sets the end block attribute 6.

        Returns:
        The end block attribute 6.
      • setEndBlockAttribute6

        public void setEndBlockAttribute6(CadStringParameter value)

        Gets or sets the end block attribute 6.

        Parameters:
        value - The end block attribute 6.
      • getXdataContainer

        public CadXdataContainer getXdataContainer()

        Gets or sets the xdata container.

        Returns:
        The xdata container.
      • setXdataContainer

        public void setXdataContainer(CadXdataContainer value)

        Gets or sets the xdata container.

        Parameters:
        value - The xdata container.
      • getAttDefs

        public com.aspose.ms.System.Collections.Generic.Dictionary<String,CadAttDef> getAttDefs()

        Gets the attribute definitions

      • addEntity

        public void addEntity(CadBaseEntity entityObject)

        Adds the entity.

        Parameters:
        entityObject - The entity object.
      • accept_internalized

        public void accept_internalized(com.aspose.cad_internal.fileformats.cad.visitors.Visitor visitor,
                               boolean oldOrDamaged)

        Accepts the specified visitor.

        Parameters:
        visitor - The visitor.
        oldOrDamaged - Sets reading in R12 mode.
      • removeEntity_internalized

        public void removeEntity_internalized(CadBaseEntity entityObject)

        Removes entity from block.

        Parameters:
        entityObject - Entity to remove.