public interface ILcdDWGModelDecoder extends ILcdModelDecoder
DWG
file format.
File | Required | Entry point | Description |
---|---|---|---|
*.dwg | x | x | Drawing file containing vector data |
ILcd2DBoundsIndexedModel
.TLcdDWGModelDescriptor
. Among other information, the descriptor
contains the list of DWG layers and line styles.modelReferenceDecoder
, if it is set.
defaultModelReference
.ILcdDWGShape
.Serializable
and can be serialized.Modifier and Type | Method and Description |
---|---|
void |
addExtendedEntityString(String aStringPrefix)
Adds a string prefix to the set of prefixes that determine which extended
entity strings are decoded.
|
void |
addExtendedEntityType(int aType)
Adds a DWG extended entity type to the set of types that is decoded.
|
void |
clearExtendedEntityStringSelection()
Clears the set of DWG extended entity strings that is decoded.
|
void |
clearExtendedEntityTypeSelection()
Clears the set of DWG extended entity types that is decoded.
|
ILcdModelReference |
getDefaultModelReference()
Returns the default model reference for decoded models.
|
ILcdModelReferenceDecoder |
getModelReferenceDecoder()
Returns the model reference decoder that is for creating model references
for decoded models.
|
boolean |
isDecodeFrozenLayers()
Returns whether DWG layers that are marked as frozen are decoded.
|
boolean |
isDecodeInvisibleLayers()
Returns whether DWG layers that are marked as invisible are decoded.
|
boolean |
isDecodeInvisibleObjects()
Returns whether DWG objects that are marked as invisible are decoded.
|
void |
resetExtendedEntityStringSelection()
Resets the set of DWG extended entity strings that is decoded.
|
void |
resetExtendedEntityTypeSelection()
Resets the set of DWG extended entity types that is decoded.
|
void |
setDecodeFrozenLayers(boolean aDecodeFrozenLayers)
Specifies whether DWG layers that are marked as frozen should be
decoded.
|
void |
setDecodeInvisibleLayers(boolean aDecodeInvisibleLayers)
Specifies whether DWG layers that are marked as invisible should be
decoded.
|
void |
setDecodeInvisibleObjects(boolean aDecodeInvisibleObjects)
Specifies whether DWG objects that are marked as invisible should be
decoded.
|
void |
setDefaultModelReference(ILcdModelReference aDefaultModelReference)
Sets the default model reference for decoded models, in case the model
reference decoder doesn't provide one.
|
void |
setExtendedEntityStringSelection(String[] aStringPrefixes)
Sets the set of DWG extended entity strings that is decoded.
|
void |
setExtendedEntityTypeSelection(int[] aTypes)
Sets the set of DWG extended entity types that is decoded.
|
void |
setModelReferenceDecoder(ILcdModelReferenceDecoder aModelReferenceDecoder)
Sets the model reference decoder that will be used for creating model
references for decoded models.
|
canDecodeSource, canDecodeSource, decode, decodeModelMetadata, decodeModelMetadata, decodeSource, discoverDataSources, getDisplayName
void setModelReferenceDecoder(ILcdModelReferenceDecoder aModelReferenceDecoder)
null
.ILcdModelReferenceDecoder getModelReferenceDecoder()
void setDefaultModelReference(ILcdModelReference aDefaultModelReference)
null
.ILcdModelReference getDefaultModelReference()
void setDecodeInvisibleObjects(boolean aDecodeInvisibleObjects)
false
.boolean isDecodeInvisibleObjects()
void setDecodeInvisibleLayers(boolean aDecodeInvisibleLayers)
false
.boolean isDecodeInvisibleLayers()
void setDecodeFrozenLayers(boolean aDecodeFrozenLayers)
false
.boolean isDecodeFrozenLayers()
void resetExtendedEntityTypeSelection()
clearExtendedEntityTypeSelection()
void clearExtendedEntityTypeSelection()
void setExtendedEntityTypeSelection(int[] aTypes)
aTypes
- a list of extended entity types.TLcdDWGExtendedEntityData
void addExtendedEntityType(int aType)
aType
- an extended entity type.TLcdDWGExtendedEntityData
void resetExtendedEntityStringSelection()
clearExtendedEntityStringSelection()
void clearExtendedEntityStringSelection()
void setExtendedEntityStringSelection(String[] aStringPrefixes)
aStringPrefixes
- a list of string prefixes.void addExtendedEntityString(String aStringPrefix)
aStringPrefix
- a list of string prefixes.