public class CadBlockEntity extends Object
The Cad block entity.
Constructor and Description |
---|
CadBlockEntity()
Initializes a new instance of the
CadBlockEntity class. |
Modifier and Type | Method and Description |
---|---|
void |
accept_internalized(com.aspose.cad_internal.fileformats.cad.visitors.Visitor visitor,
boolean oldOrDamaged)
Accepts the specified visitor.
|
void |
addEntity(CadBaseEntity entityObject)
Adds the entity.
|
com.aspose.ms.System.Collections.Generic.Dictionary<String,CadAttDef> |
getAttDefs()
Gets the attribute definitions
|
CadStringParameter |
getAttribute6()
Gets the attribute6.
|
CadShortParameter |
getAttribute71()
Gets or sets the attribute 71.
|
Cad3DPoint |
getBasePoint()
Gets the base point.
|
CadShortParameter |
getBlockAttribute370()
Gets the block attribute 370.
|
CadDoubleParameter |
getBlockAttribute48()
Gets the block attribute48.
|
CadShortParameter |
getBlockAttribute62()
Gets the block attribute 62.
|
String |
getBlockHandle()
Gets the block handle.
|
boolean |
getBlockModelSegregated()
Gets a value indicating whether [model segregated].
|
CadStringParameter |
getDescription()
Gets the description.
|
CadShortParameter |
getEndBlockAttribute370()
Gets the end block attribute 370.
|
CadDoubleParameter |
getEndBlockAttribute48()
Gets the end block attribute 48.
|
CadStringParameter |
getEndBlockAttribute6()
Gets the end block attribute 6.
|
CadShortParameter |
getEndBlockAttribute62()
Gets the end block attribute 62.
|
String |
getEndBlockHandle()
Gets the handle2.
|
CadStringParameter |
getEndBlockLayerName()
Gets the end name of the block layer.
|
boolean |
getEndBlockModelSegregated()
Gets a value indicating whether [end block model segregated].
|
CadBaseEntity[] |
getEntities()
Gets the entities.
|
short |
getFlags()
Gets the flags.
|
String |
getLayerName()
Gets the layer.
|
String |
getName()
Gets the name.
|
CadStringParameter |
getSoftOwner()
Gets the soft owner.
|
CadXdataContainer |
getXdataContainer()
Gets the xdata container.
|
String |
getXRefPathName()
Gets the XRef path.
|
void |
removeEntity_internalized(CadBaseEntity entityObject)
Removes entity from block.
|
void |
setAttribute6(CadStringParameter value)
Sets the attribute6.
|
void |
setAttribute71(CadShortParameter value)
Gets or sets the attribute 71.
|
void |
setBasePoint(Cad3DPoint value)
Sets the base point.
|
void |
setBlockAttribute370(CadShortParameter value)
Sets the block attribute 370.
|
void |
setBlockAttribute48(CadDoubleParameter value)
Sets the block attribute48.
|
void |
setBlockAttribute62(CadShortParameter value)
Sets the block attribute 62.
|
void |
setBlockHandle(String value)
Sets the block handle.
|
void |
setBlockModelSegregated(boolean value)
Sets a value indicating whether [model segregated].
|
void |
setDescription(CadStringParameter value)
Sets the description.
|
void |
setEndBlockAttribute370(CadShortParameter value)
Sets the end block attribute 370.
|
void |
setEndBlockAttribute48(CadDoubleParameter value)
Sets the end block attribute 48.
|
void |
setEndBlockAttribute6(CadStringParameter value)
Sets the end block attribute 6.
|
void |
setEndBlockAttribute62(CadShortParameter value)
Sets the end block attribute 62.
|
void |
setEndBlockHandle(String value)
Sets the handle2.
|
void |
setEndBlockLayerName(CadStringParameter value)
Sets the end name of the block layer.
|
void |
setEndBlockModelSegregated(boolean value)
Sets a value indicating whether [end block model segregated].
|
void |
setEntities(CadBaseEntity[] value)
Sets the entities.
|
void |
setFlags(short value)
Sets the flags.
|
void |
setLayerName(String value)
Sets the layer.
|
void |
setName(String value)
Sets the name.
|
void |
setSoftOwner(CadStringParameter value)
Sets the soft owner.
|
void |
setXdataContainer(CadXdataContainer value)
Sets the xdata container.
|
void |
setXRefPathName(String value)
Sets the XRef path.
|
public CadBlockEntity()
Initializes a new instance of the CadBlockEntity
class.
public CadShortParameter getEndBlockAttribute370()
Gets the end block attribute 370.
public void setEndBlockAttribute370(CadShortParameter value)
Sets the end block attribute 370.
value
- The end block attribute 370.public CadShortParameter getBlockAttribute370()
Gets the block attribute 370.
public void setBlockAttribute370(CadShortParameter value)
Sets the block attribute 370.
value
- The block attribute 370.public CadStringParameter getDescription()
Gets the description.
public void setDescription(CadStringParameter value)
Sets the description.
value
- The description.public CadDoubleParameter getBlockAttribute48()
Gets the block attribute48.
public void setBlockAttribute48(CadDoubleParameter value)
Sets the block attribute48.
value
- The block attribute48.public CadDoubleParameter getEndBlockAttribute48()
Gets the end block attribute 48.
public void setEndBlockAttribute48(CadDoubleParameter value)
Sets the end block attribute 48.
value
- The end block attribute 48.public CadShortParameter getBlockAttribute62()
Gets the block attribute 62.
public void setBlockAttribute62(CadShortParameter value)
Sets the block attribute 62.
value
- The block attribute 62.public CadShortParameter getEndBlockAttribute62()
Gets the end block attribute 62.
public void setEndBlockAttribute62(CadShortParameter value)
Sets the end block attribute 62.
value
- The end block attribute 62.public Cad3DPoint getBasePoint()
Gets the base point.
public void setBasePoint(Cad3DPoint value)
Sets the base point.
value
- The base point.public CadBaseEntity[] getEntities()
Gets the entities.
public void setEntities(CadBaseEntity[] value)
Sets the entities.
value
- The entities.public short getFlags()
Gets the flags.
public void setFlags(short value)
Sets the flags.
value
- The flags.public CadShortParameter getAttribute71()
Gets or sets the attribute 71.
public void setAttribute71(CadShortParameter value)
Gets or sets the attribute 71.
value
- The attribute 71.public String getBlockHandle()
Gets the block handle.
public void setBlockHandle(String value)
Sets the block handle.
value
- The block handle.public boolean getEndBlockModelSegregated()
Gets a value indicating whether [end block model segregated].
true
if [end block model segregated]; otherwise, false
.public void setEndBlockModelSegregated(boolean value)
Sets a value indicating whether [end block model segregated].
value
- true
if [end block model segregated]; otherwise, false
.public boolean getBlockModelSegregated()
Gets a value indicating whether [model segregated].
true
if [model segregated]; otherwise, false
.public void setBlockModelSegregated(boolean value)
Sets a value indicating whether [model segregated].
value
- true
if [model segregated]; otherwise, false
.public String getEndBlockHandle()
Gets the handle2.
public void setEndBlockHandle(String value)
Sets the handle2.
value
- The handle2.public String getName()
Gets the name.
public void setName(String value)
Sets the name.
value
- The name.public String getXRefPathName()
Gets the XRef path.
public void setXRefPathName(String value)
Sets the XRef path.
value
- The XRef path.public CadStringParameter getSoftOwner()
Gets the soft owner.
public void setSoftOwner(CadStringParameter value)
Sets the soft owner.
value
- The soft owner (the same for Block and EndBlock)public String getLayerName()
Gets the layer.
public void setLayerName(String value)
Sets the layer.
value
- The layer.public CadStringParameter getEndBlockLayerName()
Gets the end name of the block layer.
public void setEndBlockLayerName(CadStringParameter value)
Sets the end name of the block layer.
value
- The end name of the block layer.public CadStringParameter getAttribute6()
Gets the attribute6.
public void setAttribute6(CadStringParameter value)
Sets the attribute6.
value
- The attribute6.public CadStringParameter getEndBlockAttribute6()
Gets the end block attribute 6.
public void setEndBlockAttribute6(CadStringParameter value)
Sets the end block attribute 6.
value
- The end block attribute 6.public CadXdataContainer getXdataContainer()
Gets the xdata container.
public void setXdataContainer(CadXdataContainer value)
Sets the xdata container.
value
- The xdata container.public com.aspose.ms.System.Collections.Generic.Dictionary<String,CadAttDef> getAttDefs()
Gets the attribute definitions
public void addEntity(CadBaseEntity entityObject)
Adds the entity.
entityObject
- The entity object.public void accept_internalized(com.aspose.cad_internal.fileformats.cad.visitors.Visitor visitor, boolean oldOrDamaged)
Accepts the specified visitor.
visitor
- The visitor.oldOrDamaged
- Sets reading in R12 mode.public void removeEntity_internalized(CadBaseEntity entityObject)
Removes entity from block.
entityObject
- Entity to remove.