CAD::Format::DWG::AC1_40 - Read AutoCAD 1.40 DWG file.
use CAD::Format::DWG::AC1_40;
my $dwg = CAD::Format::DWG::AC1_40->new;
my $dwg = CAD::Format::DWG::AC1_40::from_file($dwg_file);
my $entities_ar = $dwg->entities;
my $header = $dwg->header;
In distribution is kaitai structure definition file dwg_ac1_40.ksy which described AutoCAD DWG format version AC1.40.
my $dwg = CAD::Format::DWG::AC1_40->new;
Constructor.
Returns instance of object.
my $dwg = CAD::Format::DWG::AC1_40->from_file($dwg_file);
Create instance of object from DWG file.
Returns instance of object.
my $entities_ar = $dwg->entities;
Get list of entities in DWG file.
Returns reference to array with CAD::Format::DWG::AC1_40::Entity instances.
my $header = $dwg->header;
Get header of DWG file.
Returns instance of CAD::Format::DWG::AC1_40::Header object.
https://github.com/michal-josef-spacek/CAD-Format-DWG-AC1_40.git
Michal Josef Špaček mailto:[email protected]
© 2021-2023 Michal Josef Špaček
BSD 2-Clause License
0.01