CadBaseEntity

Inheritance: java.lang.Object, CadBaseOwned

The Cad base entity object.

Constructors

ConstructorDescription
CadBaseEntity()Initializes a new instance of the CadBaseEntity class.

Methods

MethodDescription
getTypeName()Gets the name of the type.
getChildObjects()Gets or sets the child objects.
setChildObjects(List value)Gets or sets the child objects.
getColorId()Gets or sets the color id.
setColorId(short value)Gets or sets the color id.
getLayoutTabName()Gets or sets the name of the layout tab.
setLayoutTabName(String value)Gets or sets the name of the layout tab.
getColorName()Gets or sets the name of the color.
setColorName(String value)Gets or sets the name of the color.
getColorValue()Gets or sets the color value.
setColorValue(Integer value)Gets or sets the color value.
getLayerName()Gets or sets the name of the layer.
setLayerName(String value)Gets or sets the name of the layer.
getLineScale()Gets or sets the line scale.
setLineScale(double value)Gets or sets the line scale.
getLineTypeName()Gets or sets the name of the line type.
setLineTypeName(String value)Gets or sets the name of the line type.
getLineWeight()Gets or sets the line weight.
setLineWeight(short value)Gets or sets the line weight.
getMaterial()Gets or sets the material.
setMaterial(String value)Gets or sets the material.
getPlotStyle()Gets or sets the plot style.
setPlotStyle(String value)Gets or sets the plot style.
getProxyBytesCount()Gets or sets the proxy bytes count.
setProxyBytesCount(Integer value)Gets or sets the proxy bytes count.
getProxyData()Gets or sets the proxy data.
setProxyData(byte[] value)Gets or sets the proxy data.
getShadowMode()Gets or sets the shadow mode.
setShadowMode(Short value)Gets or sets the shadow mode.
getSpaceMode()Gets or sets the space mode.
setSpaceMode(int value)Gets or sets the space mode.
getBounds()Minimal and maximal points of entity. Filled after GetBounds is called for CadImage.
setBounds(List value)Minimal and maximal points of entity. Filled after GetBounds is called for CadImage.
getTransparency()Gets or sets the transparency.
setTransparency(Integer value)Gets or sets the transparency.
getVisible()Gets or sets a value indicating whether this CadBaseEntity is visible.
setVisible(short value)Gets or sets a value indicating whether this CadBaseEntity is visible.
getHyperlink()Gets or sets the hyperlink.
setHyperlink(String value)Gets or sets the hyperlink.
getEntmode()The Entmode
setEntmode(byte value)The Entmode
getNumreactors()The Numreactors
setNumreactors(int value)The Numreactors
getXDirMissingFlag()The XDirMissingFlag
setXDirMissingFlag(boolean value)The XDirMissingFlag
getStorageFlag()The StorageFlag
setStorageFlag(boolean value)The StorageFlag
isByLayer()The IsByLayer
setByLayer(boolean value)The IsByLayer
isNoLinks()The IsNoLinks
setNoLinks(boolean value)The IsNoLinks
getLType()The LType
setLType(byte value)The LType
getPlotStyleFlag()Plot style flag.
setPlotStyleFlag(byte value)Plot style flag.

CadBaseEntity()

public CadBaseEntity()

Initializes a new instance of the CadBaseEntity class.

getTypeName()

public int getTypeName()

Gets the name of the type.

Returns: int - The name of the type.

getChildObjects()

public final List<CadBaseEntity> getChildObjects()

Gets or sets the child objects.

Returns: List

setChildObjects(List value)

public final void setChildObjects(List<CadBaseEntity> value)

Gets or sets the child objects.

getColorId()

public final short getColorId()

Gets or sets the color id.

Returns: short - The color id.

setColorId(short value)

public final void setColorId(short value)

Gets or sets the color id.

Parameters:

ParameterTypeDescription
valueshortThe color id.

getLayoutTabName()

public final String getLayoutTabName()

Gets or sets the name of the layout tab.

Returns: String - The name of the layout tab.

setLayoutTabName(String value)

public final void setLayoutTabName(String value)

Gets or sets the name of the layout tab.

Parameters:

ParameterTypeDescription
valueStringThe name of the layout tab.

getColorName()

public final String getColorName()

Gets or sets the name of the color.

Returns: String - The name of the color.

setColorName(String value)

public final void setColorName(String value)

Gets or sets the name of the color.

Parameters:

ParameterTypeDescription
valueStringThe name of the color.

getColorValue()

public final Integer getColorValue()

Gets or sets the color value.

Returns: Integer - The color value.

setColorValue(Integer value)

public final void setColorValue(Integer value)

Gets or sets the color value.

Parameters:

ParameterTypeDescription
valueIntegerThe color value.

getLayerName()

public final String getLayerName()

Gets or sets the name of the layer.

Returns: String - The name of the layer.

setLayerName(String value)

public final void setLayerName(String value)

Gets or sets the name of the layer.

Parameters:

ParameterTypeDescription
valueStringThe name of the layer.

getLineScale()

public final double getLineScale()

Gets or sets the line scale.

Returns: double - The line scale.

setLineScale(double value)

public final void setLineScale(double value)

Gets or sets the line scale.

Parameters:

ParameterTypeDescription
valuedoubleThe line scale.

getLineTypeName()

public final String getLineTypeName()

Gets or sets the name of the line type.

Returns: String - The name of the line type.

setLineTypeName(String value)

public final void setLineTypeName(String value)

Gets or sets the name of the line type.

Parameters:

ParameterTypeDescription
valueStringThe name of the line type.

getLineWeight()

public final short getLineWeight()

Gets or sets the line weight.

Returns: short - The line weight.

setLineWeight(short value)

public final void setLineWeight(short value)

Gets or sets the line weight.

Parameters:

ParameterTypeDescription
valueshortThe line weight.

getMaterial()

public final String getMaterial()

Gets or sets the material.

Returns: String - The material.

setMaterial(String value)

public final void setMaterial(String value)

Gets or sets the material.

Parameters:

ParameterTypeDescription
valueStringThe material.

getPlotStyle()

public final String getPlotStyle()

Gets or sets the plot style.

Returns: String - The plot style.

setPlotStyle(String value)

public final void setPlotStyle(String value)

Gets or sets the plot style.

Parameters:

ParameterTypeDescription
valueStringThe plot style.

getProxyBytesCount()

public final Integer getProxyBytesCount()

Gets or sets the proxy bytes count.

Returns: Integer - The proxy bytes count.

setProxyBytesCount(Integer value)

public final void setProxyBytesCount(Integer value)

Gets or sets the proxy bytes count.

Parameters:

ParameterTypeDescription
valueIntegerThe proxy bytes count.

getProxyData()

public final byte[] getProxyData()

Gets or sets the proxy data.

Returns: byte[] - The proxy data.

setProxyData(byte[] value)

public final void setProxyData(byte[] value)

Gets or sets the proxy data.

Parameters:

ParameterTypeDescription
valuebyte[]The proxy data.

getShadowMode()

public final Short getShadowMode()

Gets or sets the shadow mode.

Returns: Short - The shadow mode.

setShadowMode(Short value)

public final void setShadowMode(Short value)

Gets or sets the shadow mode.

Parameters:

ParameterTypeDescription
valueShortThe shadow mode.

getSpaceMode()

public final int getSpaceMode()

Gets or sets the space mode.

Returns: int - The space mode.

Throws:

  • CadException - Space mode is not valid

setSpaceMode(int value)

public final void setSpaceMode(int value)

Gets or sets the space mode.

Parameters:

ParameterTypeDescription
valueintThe space mode.

Throws:

  • CadException - Space mode is not valid

getBounds()

public final List<Cad3DPoint> getBounds()

Minimal and maximal points of entity. Filled after GetBounds is called for CadImage.

Returns: List

setBounds(List value)

public final void setBounds(List<Cad3DPoint> value)

Minimal and maximal points of entity. Filled after GetBounds is called for CadImage.

getTransparency()

public final Integer getTransparency()

Gets or sets the transparency.

Returns: Integer - The transparency.

setTransparency(Integer value)

public final void setTransparency(Integer value)

Gets or sets the transparency.

Parameters:

ParameterTypeDescription
valueIntegerThe transparency.

getVisible()

public short getVisible()

Gets or sets a value indicating whether this CadBaseEntity is visible.

Returns: short - true if visible; otherwise, false .

setVisible(short value)

public void setVisible(short value)

Gets or sets a value indicating whether this CadBaseEntity is visible.

Parameters:

ParameterTypeDescription
valueshorttrue if visible; otherwise, false .
public final String getHyperlink()

Gets or sets the hyperlink.

Returns: String - The hyperlink.

public final void setHyperlink(String value)

Gets or sets the hyperlink.

Parameters:

ParameterTypeDescription
valueStringThe hyperlink.

getEntmode()

public final byte getEntmode()

The Entmode

Returns: byte

setEntmode(byte value)

public final void setEntmode(byte value)

The Entmode

getNumreactors()

public final int getNumreactors()

The Numreactors

Returns: int

setNumreactors(int value)

public final void setNumreactors(int value)

The Numreactors

getXDirMissingFlag()

public final boolean getXDirMissingFlag()

The XDirMissingFlag

Returns: boolean

setXDirMissingFlag(boolean value)

public final void setXDirMissingFlag(boolean value)

The XDirMissingFlag

getStorageFlag()

public final boolean getStorageFlag()

The StorageFlag

Returns: boolean

setStorageFlag(boolean value)

public final void setStorageFlag(boolean value)

The StorageFlag

isByLayer()

public final boolean isByLayer()

The IsByLayer

Returns: boolean

setByLayer(boolean value)

public final void setByLayer(boolean value)

The IsByLayer

public final boolean isNoLinks()

The IsNoLinks

Returns: boolean

public final void setNoLinks(boolean value)

The IsNoLinks

getLType()

public final byte getLType()

The LType

Returns: byte

setLType(byte value)

public final void setLType(byte value)

The LType

getPlotStyleFlag()

public final byte getPlotStyleFlag()

Plot style flag.

Returns: byte

setPlotStyleFlag(byte value)

public final void setPlotStyleFlag(byte value)

Plot style flag.