Body¶
BODY (DXF Reference) created by an ACIS based geometry kernel provided by the Spatial Corp.
ezdxf will never interpret ACIS source code, don’t ask me for this feature.
Subclass of |
|
DXF type |
|
Factory function |
|
Inherited DXF attributes |
|
Required DXF version |
DXF R2000 ( |
Warning
Do not instantiate entity classes by yourself - always use the provided factory functions!
-
class
ezdxf.entities.Body¶ -
dxf.version¶ Modeler format version number, default value is
1
-
dxf.flags¶ Require DXF R2013.
-
dxf.uid¶ Require DXF R2013.
-
acis_data¶ Get/Set ACIS text data as list of strings for DXF R2000 to R2010 and binary encoded ACIS data for DXF R2013 and later as list of bytes.
-
has_binary_data¶ Returns
Trueif ACIS data is of typeList[bytes],Falseif data is of typeList[str].
-
tostring() → str¶ Returns ACIS data as one string for DXF R2000 to R2010.
-
tobytes() → bytes¶ Returns ACIS data as joined bytes for DXF R2013 and later.
-
set_text(text: str, sep: str = '\n') → None¶ Set ACIS data from one string.
-