UNPKG

autocad-dxf

Version:

A module which can be used to parse AutoCAD dxf files and to make programmatic and geometric operations on the AutoCAD drawing entities.

651 lines (650 loc) 69.1 kB
module.exports = { "AcDbArc": { "0": "etype", // type of entity, ARC "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the center "20": "y", // the y coordinate of the center "30": "z", // the z coordinate of the center "40": "radius", // radius of the arc "50": "start_angle", // start angle "51": "end_angle", // end angle "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker, AcDbCircle "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbBlockReference": { "0": "etype", // type of entity, INSERT "2": "block_name", // block name "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "41": "scale_x", // scale in x direction "42": "scale_y", // scale in y direction "43": "scale_z", // scale in z direction "44": "column_spacing",// column spacing "45": "row_spacing", // row spacing "48": "line_scale", // line type scale "50": "rotation", // block rotation "60": "visibility", // object visibility "70": "column_count", // column count "71": "row_count", // row count "100": "subclass", // subclass marker, AcDbBlockReference "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbCircle": { "0": "etype", // type of entity, CIRCLE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // x coordinate of the center "20": "y", // y coordinate of the center "30": "z", // z coordinate of the center "40": "radius", // radius of the circle "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass/specific_type", // subclass marker (AcDbCircle)/the specific type of the circle (AcDbArc) "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id", // the id(s) of entities referring to the current entity "**": "area", // area of a circle or the visible segment of a circular arc "***": "area_sector", // area of a sector for arcs "****": "circumference/arc_length" // circumeference of arc length }, "AcDbDimension": { "0": "etype", // type of entity, DIMENSION "1": "text_override", // user defined value for the dimension "3": "dimension_style", // the name of the dimension style "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the dimension line "11": "x_text", // the x coordinate of the center of the dimension text "13": "ext_line1_x/ext_line1_p1_x/location_x", // the x coordinate of the first extension line for linear or angular dimensions or the x coordinate of the first point of the first extension line in angular dimensions or the x value of the feature location of ordinate dimensions "14": "ext_line2_x/ext_line1_p2_x/leader_end_x", // the x coordinate of the second extension line for linear or angular dimensions or the x coordinate of the second point of the first extension line in angular dimensions or the x value of the leader end point in ordinate dimensions "15": "vertex_x/dim_first_point_x/ext_line2_p2_x", // the x coordinate of the vertex of angular dimensions or the x coordinate of the first point of radial or dimateric dimensions or the x coordinate of the second point of the second extension line in angular dimensions "16": "arc_dim_line_x", // the x coordinate of the point on the arc of angular dimensions "20": "y", // the y coordinate of the dimension line "21": "y_text", // the y coordinate of the center of the dimension text "23": "ext_line1_y/ext_line1_p1_y/location_y", // the y coordinate of the first extension line for linear or angular dimensions or the y coordinate of the first point of the first extension line in angular dimensions or the y value of the feature location of ordinate dimensions "24": "ext_line2_y/ext_line1_p2_y/leader_end_y", // the y coordinate of the second extension line for linear or angular dimensions or the y coordinate of the second point of the first extension line in angular dimensions or the y value of the leader end point in ordinate dimensions "25": "vertex_y/dim_first_point_y/ext_line2_p2_y", // the y coordinate of the vertex of angular dimensions or the y coordinate of the first point of radial or dimateric dimensions or the y coordinate of the second point of the second extension line in angular dimensions "26": "arc_dim_line_y", // the y coordinate of the point on the arc of angular dimensions "30": "z", // the z coordinate of the dimension line "31": "z_text", // the z coordinate of the center of the dimension text "33": "ext_line1_z/ext_line1_p1_z/location_z", // the z coordinate of the first extension line for linear or angular dimensions or the z coordinate of the first point of the first extension line in angular dimensions or the z value of the feature location of ordinate dimensions "34": "ext_line2_z/ext_line1_p2_z/leader_end_y", // the z coordinate of the second extension line for linear or angular dimensions or the z coordinate of the second point of the first extension line in angular dimensions or the z value of the leader end point in ordinate dimensions "35": "vertex_z/dim_first_point_z/ext_line2_p2_z", // the z coordinate of the vertex of angular dimensions or the z coordinate of the first point of radial or dimateric dimensions or the z coordinate of the second point of the second extension line in angular dimensions "40": "leader_length", // length of the leader "42": "actual_measurement", // actual measurement of the dimension "48": "line_scale", // line type scale "50": "rotation", // rotation angle of the dimension line "52": "ext_line_rotation", // rotation angle of the extension lines "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "70": "type", // type of the dimension line "71": "attachement_point", // attachment point "100": "subclass/specific_type", // subclass marker (AcDbDimension)/the specific type of the dimension (AcDbAlignedDimension/AcDb3PointAngularDimension/AcDbDiametricDimension/AcDbRadialDimension) "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbEllipse": { "0": "etype", // type of entity, ELLIPSE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the center "11": "major_end_dx", // the delta X of the end point of the major axis w.r.t the center "20": "y", // the y coordinate of the center "21": "major_end_dy", // the delta Y of the end point of the major axis w.r.t the center "30": "z", // the z coordinate of the center "31": "major_end_dz", // the delta Z of the end point of the major axis w.r.t the center "40": "minorToMajor", // the length ratio of the minor axis to the major axis "41": "start_parameter", // the parameteric angle of the start point of the ellipse, 0 for full ellipse "42": "end_parameter", // the parameteric angle of the end point of the ellipse, 2*PI for full ellipse "41a": "start_angle", // the start angle of the ellipse measured from +x axis, 0 for full ellipse "42a": "end_angle", // the end angle of the ellipse measured from +x axis, 360 for full ellipse "41b": "start_angle2", // the start angle of the ellipse measured from the major axis, 0 for full ellipse "42b": "end_angle2", // the end angle of the ellipse measured from the major axis, 360 for full ellipse "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker, AcDbEllipse "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id", // the id(s) of entities referring to the current entity "**": "area", // area of a circle or the visible segment of an elliptical arc "***": "area_sector", // area of a sector for arcs "****": "area_full" // the full area of the ellipse in case the ellipse is an arc }, "AcDbExtrudedSurface": { "0": "etype", // type of entity, SURFACE "1": "proprietary_data", // proprietary data upto 255 characters (exclusive) "3": "proprietary_data", // proprietary data beyond 255 characters "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the sweep vector "20": "y", // the y coordinate of the sweep vector "30": "z", // the z coordinate of the sweep vector "11": "ref_vector.x", // Reference vector for controlling twist, x value "21": "ref_vector.y", // Reference vector for controlling twist, y value "31": "ref_vector.z", // Reference vector for controlling twist, z value "40": "transform_matrix_revolved", // Transform matrix of revolved entity (16 reals; row major format; default = identity matrix) "42": "draft_angle", // Draft angle (in radians) "43": "start_draft_distance", // Start draft distance "44": "end_draft_distance", // End draft distance "45": "twist_angle", // Twist angle (in radians) "46": "transform_matrix_sweep", // Transform matrix of sweep entity (16 reals; row major format; default = identity matrix) "47": "transform_matrix_path", // Transform matrix of path entity (16 reals; row major format; default = identity matrix) "48": "scale_factor", // Scale factor "49": "align_angle", // Align angle (in radians) "70": "sweep_alignment_option", // Sweep alignment option "100": "subclass/specific_type", // subclass marker, AcDbModelerGeometry/AcDbExtrudedSurface "310": "binary_data", // binary data "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbFace": { "0": "etype", // type of entity, 3DFACE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "corners.x", // the x coordinate of the first corner "11": "corners.x", // the x coordinate of the second corner "12": "corners.x", // the x coordinate of the third corner "13": "corners.x", // the x coordinate of the fourth corner "20": "corners.y", // the y coordinate of the first corner "21": "corners.y", // the y coordinate of the second corner "22": "corners.y", // the y coordinate of the third corner "23": "corners.y", // the y coordinate of the fourth corner "30": "corners.z", // the z coordinate of the first corner "31": "corners.z", // the z coordinate of the second corner "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "70": "invisible_edge", // invisible edge flag, First/Second/Third/Fourth "100": "subclass", // subclass marker, AcDbFace "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbFcf": { "0": "etype", // type of entity, TOLERANCE "1": "visual_representation", // String representing the visual representation of the tolerance "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "3": "dimension_style", // dimension style name "8": "layer", // the layer on which the point is defined "10": "insertion_point.x", // the x coordinate of the insertion point "11": "x_axis_direction.x", // the x coordinate of the X-axis direction vector "20": "insertion_point.y", // the y coordinate of the insertion point "21": "x_axis_direction.y", // the y coordinate of the X-axis direction vector "30": "insertion_point.z", // the z coordinate of the insertion point "31": "x_axis_direction.z", // the z coordinate of the X-axis direction vector "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker, AcDbFcf "210": "extrusion_direction.x", // the x coordinate of the Extrusion direction "220": "extrusion_direction.y", // the y coordinate of the Extrusion direction "230": "extrusion_direction.z", // the z coordinate of the Extrusion direction "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbHatch": { "0": "etype", // type of entity, HATCH "2": "style_name", // atch pattern name "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "elevation_point.x/seed_points.x/boundary_paths.vertices.x/boundary_paths.start_x/boundary_paths.center_x/boundary_paths.control_points.x", // x coordinate values "20": "elevation_point.y/seed_points.y/boundary_paths.vertices.y/boundary_paths.start_y/boundary_paths.center_y/boundary_paths.control_points.x", // y coordinate values "11": "boundary_paths.end_x/boundary_paths.major_end_dx", // the x coordinate of the end point (if edge_type is Line), the x axis value difference between the center and the end of the major axis (if edge_type is Elliptic arc) "21": "boundary_paths.end_y/boundary_paths.major_end_dy", // the y coordinate of the end point (if edge_type is Line), the y axis value difference between the center and the end of the major axis (if edge_type is Elliptic arc) "30": "elevation_point.z/seed_points.z", // the z coordinate of an elevation point or a seed point "40": "boundary_paths.radius/boundary_paths.minorToMajor/boundary_paths.knot_values", // the radius of the circular arc (if edge_type is Circular arc) or the ratio between the lengths of the minor and major axes (if edge_type is Elliptic arc) or knot values (if edge_type is Spline) "41": "pattern_scale", // Hatch pattern scale or spacing (pattern fill only) "42": "boundary_paths.vertices.bulge/boundary_paths.weights", // Bulge (optional, default = 0) (if boundary is a polyline) OR Weights (optional, default = 1) (if edge_type is Spline) "43": "pattern_lines.base_point.x", // Pattern line base point, X component "44": "pattern_lines.base_point.y", // Pattern line base point, Y component "45": "pattern_lines.offset.x", // Pattern line offset, X component "46": "pattern_lines.offset.y", // Pattern line offset, Y component "48": "line_scale", // line type scale "49": "pattern_lines.dash_lengths", // Dash length (multiple entries) "50": "boundary_paths.start_angle", // the start angle (only if edge_type is Circular arc or Elliptic arc) "51": "boundary_paths.end_angle", // the end angle (only if edge_type is Circular arc or Elliptic arc) "52": "pattern_angle", // Hatch pattern angle (pattern fill only) "53": "pattern_lines.angle", // Pattern line angle "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "63": "gradient_colors.color_code", // autocad color code for the gradient colors "70": "fill_type", // fill type, Pattern/Solid "71": "associative", // associativity flag "72": "boundary_paths.edge_type/boundary_paths.has_bulge", // Edge type (only if boundary is not a polyline),Line/Circular arc/Elliptic arc/Spline OR Has bulge flag if boundary is a polyline, Yes/No "73": "boundary_paths.is_closed/boundary_paths.is_counterclockwise/boundary_paths.rational", // is closed flag (only if boundary is a polyline) OR is counter clockwise flag if edge_type is Circular arc/Elliptic arc OR rational flag if edge_type is Spline, Yes/No "74": "boundary_paths.periodic", // is periodic flag (only if edge_type is Elliptic arc), Yes/No "75": "style", // the hatch style, Hatch odd parity area/Hatch outermost area only/Hatch through entire area "76": "pattern", // the type of hatch pattern, User-defined/Predefined/Custom "77": "double_pattern", // Hatch pattern double flag (pattern fill only), Yes/No "78": "number_of_pattern_lines", // Number of pattern definition lines, number_of_lines had been used for versions earlier than 1.5 "79": "pattern_lines.number_of_dash_length_items", // Number of dash length items "91": "number_of_boundary_paths", // Number of boundary paths (loops) "92": "boundary_paths.path_type", // Boundary path type, Default,External,Polyline,Derived,Textbox,Outermost "93": "boundary_paths.number_of_vertices/boundary_paths.number_of_edges", // Number of edges in this boundary path (or number of verices if boundary is a polyline) "94": "boundary_paths.degree", // The degree of the spline (if edge_type is Spline) "95": "boundary_paths.number_of_knots", // Number of knots (only if edge_type is Elliptic arc), Yes/No "96": "boundary_paths.number_of_control_points", // Number of control points (only if edge_type is Elliptic arc), Yes/No "97": "boundary_paths.number_of_source_boundaries/boundary_paths.number_of_fit_data", // Number of source boundary objects OR Number of fit data (if edge_type is Spline) "98": "number_of_seed_points", // number of seed points "100": "subclass", // subclass marker, AcDbHatch "210": "extrusion_direction.x", // the x coordinate of the extrusion direction "220": "extrusion_direction.y", // the y coordinate of the extrusion direction "230": "extrusion_direction.z", // the z coordinate of the extrusion direction "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id", // the id(s) of entities referring to the current entity "421": "gradient_colors.rgb", // RGB values for the gradient colors "450": "gradient", // true if the hatch is of gradient color or false otherwise "452": "gradient_composition", // Gradient color composition, Two-color gradient/Single-color gradient "453": "gradient_style", // Color styles of gradient, Solid hatch/Gradient "460": "gradient_rotation", // Rotation angle in radians for gradients (default = 0, 0) "461": "gradient_definition", // Gradient definition; corresponds to the Centered option on the Gradient Tab of the Boundary Hatch and Fill dialog box,Unshifted/Shifted "462": "gradient_color_tint", // Color tint value used by dialog code (default = 0, 0; range is 0.0 to 1.0). "470": "gradient_type" // Gradient type, LINEAR/RADIAL/ANGULAR/REFLECTED/DIAMOND/CONICAL/SPHERICAL/HEMISPHERICAL/CURVED }, "AcDbHelix": { "0": "etype", // type of entity, HELIX "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "8": "layer", // the layer on which the point is defined "10": "axis_base_point.x", // the x coordinate of the axis base point "20": "axis_base_point.y", // the y coordinate of the axis base point "30": "axis_base_point.z", // the z coordinate of the axis base point "11": "start_point.x", // the x coordinate of the start point "21": "start_point.y", // the y coordinate of the start point "31": "start_point.z", // the z coordinate of the start point "12": "axis_vector.x", // the x coordinate of the axis vector "22": "axis_vector.y", // the y coordinate of the axis vector "32": "axis_vector.z", // the z coordinate of the axis vector "40": "radius", // the radius of the helix "41": "number_of_turns", // the number of turns "42": "turn_height", // the number of turns "48": "line_scale", // line type scale "60": "visibility", // object visibility "100": "subclass", // subclass marker, AcDbHelix "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbLeader": { "0": "etype", // type of entity, LEADER "3": "dimension_style", // dimension style "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "vertices.x", // the x coordinate of a vertex "20": "vertices.y", // the y coordinate of a vertex "30": "vertices.z", // the z coordinate of a vertex "40": "text_height", // the height of annotation text "41": "text_width", // the width of annotation text "48": "line_scale", // line type scale "60": "visibility", // object visibility "71": "arrow_head_disabled", // arrow head disablity flag, Yes/No "72": "path_type", // leader path type, Straight line/Spline "73": "created", // leader creation flag "74": "hookline_direction", // Hookline (or end of tangent for a splined leader) direction "75": "has_hookline", // Hookline flag, Yes/No "76": "number_of_vertices", // Number of vertices in leader (ignored for OPEN) "77": "color", // Color to use if leader's dimension color is BYBLOCK "100": "subclass", // subclass marker, AcDbLeader "210": "normal_vector.x", // the x value of the normal vector "211": "horizontal_direction.x", // the x value of the “Horizontal” direction for leader "212": "offset_from_insertion_point.x", // the x value of the Offset of last leader vertex from block reference insertion point "213": "offset_from_annotation.x", // the x value of the Offset of last leader vertex from annotation placement point "220": "normal_vector.y", // the y value of the normal vector "221": "horizontal_direction.y", // the y value of the “Horizontal” direction for leader "222": "offset_from_insertion_point.y", // the y value of the Offset of last leader vertex from block reference insertion point "223": "offset_from_annotation.y", // the y value of the Offset of last leader vertex from annotation placement point "230": "normal_vector.z", // the z value of the normal vector "231": "horizontal_direction.z", // the z value of the “Horizontal” direction for leader "232": "offset_from_insertion_point.z", // the z value of the Offset of last leader vertex from block reference insertion point "233": "offset_from_annotation.z", // the z value of the Offset of last leader vertex from annotation placement point "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbLine": { "0": "etype", // type of entity, LINE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "start_x", // the x coordinate of the starting point "11": "end_x", // the x coordinate of the end point "20": "start_y", // the y coordinate of the starting point "21": "end_y", // the y coordinate of the end point "30": "start_z", // the z coordinate of the starting point "31": "end_z", // the z coordinate of the end point "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker. AcDbLine in this case "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id", // the id(s) of entities referring to the current entity "**": "length" // length of the line }, "AcDbLoftedSurface": { "0": "etype", // type of entity, SURFACE "1": "proprietary_data", // proprietary data upto 255 characters (exclusive) "3": "proprietary_data", // proprietary data beyond 255 characters "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "40": "transform_matrix", // Revolve angle (in radians) "41": "start_draft_angle", // Start draft angle (in radians) "42": "end_draft_angle", // End draft angle (in radians) "43": "start_draft_magnitude", // Start draft magnitude "44": "end_draft_magnitude", // End draft magnitude "48": "scale_factor", // Scale factor "100": "subclass/specific_type", // subclass marker, AcDbModelerGeometry/AcDbLoftedSurface "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbModelerGeometry": { "0": "etype", // type of entity, 3DSOLID "1": "proprietary_data", // proprietary data upto 255 characters (exclusive) "3": "proprietary_data", // proprietary data beyond 255 characters "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "7": "style", // text style name "8": "layer", // the layer on which the point is defined "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker, AcDbMText "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbMText": { "0": "etype", // type of entity, MTEXT "1": "text", // text value "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "7": "style", // text style name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the text insertion point "20": "y", // the y coordinate of the text insertion point "30": "z", // the z coordinate of the text insertion point "40": "height", // text height "48": "line_scale", // line type scale "50": "rotation", // rotation angle "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "72": "drawing_direction", // the drawing direction of the text "100": "subclass", // subclass marker, AcDbMText "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbMline": { "0": "etype", // type of entity, MLINE "2": "style_name", // the name of the style used "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "start_x", // the x coordinate of the starting point "11": "vertices.x", // the x coordinate of a vertex "12": "vertices.segment_dir_vector_x", // the x value of the direction vector of the segment at the vertex "13": "vertices.miter_dir_vector_x", // the x value of the direction vector of the miter at the vertex "20": "start_y", // the y coordinate of the starting point "21": "vertices.y", // the y coordinate of a vertex "22": "vertices.segment_dir_vector_y", // the y value of the direction vector of the segment at the vertex "23": "vertices.miter_dir_vector_y", // the y value of the direction vector of the miter at the vertex "30": "start_z", // the z coordinate of the starting point "31": "vertices.z", // the z coordinate of a vertex "40": "scale_factor", // scale factor "41": "vertices.parameters", // Element parameters "42": "vertices.area_fill_parameters", // Area fill parameters "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "70": "justification", // justification, Top/Middle/Bottom "71": "type", // multiline type "72": "number_of_vertices", // number of vertices "74": "vertices.number_of_parameters", // Number of parameters for this element "75": "vertices.number_of_area_fill_parameters", // Number of area fill parameters for this element "100": "subclass", // subclass marker, AcDbMline "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbPoint": { "0": "etype", // type of entity, POINT "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the point "20": "y", // the y coordinate of the point "30": "z", // the z coordinate of the point "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker. AcDbPoint in this case "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbPolyline": { "0": "etype", // type of entity, LWPOLYLINE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "vertices.x", // the x coordinate of a vertex "20": "vertices.y", // the y coordinate of a vertex "30": "vertices.z", // the z coordinate of a vertex "40": "vertices.start_width", // bulge "41": "vertices.end_width", // bulge "42": "vertices.bulge", // bulge "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "70": "type", // type of the polyline, 'Closed' or 'Plinegen' "90": "number_of_vertices", // number of vertices "100": "subclass", // subclass marker, AcDbPolyline "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDb3dPolyline": { "0": "etype", // type of entity, POLYLINE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "vertices.x", // the x coordinate of a vertex "20": "vertices.y", // the y coordinate of a vertex "30": "vertices.z", // the z coordinate of a vertex "40": "vertices.start_width", // bulge "41": "vertices.end_width", // bulge "42": "vertices.bulge", // bulge "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "70": "type", // type of the polyline, 'Closed' or 'Plinegen' "90": "number_of_vertices", // number of vertices "100": "subclass", // subclass marker, AcDb3dPolyline "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbRasterImage": { "0": "etype", // type of entity, IMAGE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "insertion_point.x", // the x coordinate of the insertion point "20": "insertion_point.y", // the y coordinate of the insertion point "30": "insertion_point.z", // the z coordinate of the insertion point "11": "u_vector.x", // the x coordinate of the U vector "12": "v_vector.x", // the x coordinate of the V vector "13": "u_value", // the U value "14": "clip_vertex.x", // the x coordinate of a clip boundary vertex "21": "u_vector.y", // the y coordinate of the U vector "31": "u_vector.z", // the z coordinate of the U vector "22": "v_vector.y", // the y coordinate of the V vector "32": "v_vector.z", // the z coordinate of the V vector "23": "v_value", // the V value "24": "clip_vertex.y", // the y coordinate of a clip boundary vertex "34": "clip_vertex.z", // the z coordinate of a clip boundary vertex "48": "line_scale", // line type scale "60": "visibility", // object visibility "70": "image_display_properties", // image display properties "71": "clip_boundary_type", // type of clip boundary, Rectangular/Polygonal "100": "subclass", // subclass marker, AcDbRasterImage "290": "clip_mode", // clip mode flag, Outside/Inside "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbRay": { "0": "etype", // type of entity, RAY "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "start_x", // the x coordinate of the starting point "20": "start_y", // the y coordinate of the starting point "30": "start_z", // the z coordinate of the starting point "11": "unit_direction_x", // unit direction vector, x value (WCS) "21": "unit_direction_y", // unit direction vector, y value (WCS) "31": "unit_direction_z", // unit direction vector, z value (WCS) "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker, AcDbRay "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbRevolvedSurface": { "0": "etype", // type of entity, SURFACE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "1": "proprietary_data", // proprietary data upto 255 characters (exclusive) "3": "proprietary_data", // proprietary data beyond 255 characters "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the axis point "20": "y", // the y coordinate of the axis point "30": "z", // the z coordinate of the axis point "11": "axis_vector.x", // axis vector, x value "21": "axis_vector.y", // axis vector, y value "31": "axis_vector.z", // axis vector, z value "40": "revolve_angle", // Revolve angle (in radians) "41": "start_angle", // Start angle (in radians) "42": "transform_matrix", // Transform matrix of revolved entity (16 reals; row major format; default = identity matrix) "43": "draft_angle", // Draft angle (in radians) "44": "start_draft_distance", // Start draft distance "45": "end_draft_distance", // End draft distance "46": "twist_angle", // Twist angle (in radians) "71": "n_u_isolines", // Number of U isolines "72": "n_v_isolines", // Number of V isolines "100": "subclass/specific_type", // subclass marker, AcDbModelerGeometry/AcDbRevolvedSurface "310": "binary_data", // binary data "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbShape": { "0": "etype", // type of entity, SHAPE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "2": "style_name", // style name "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the insertion point "20": "y", // the y coordinate of the insertion point "30": "z", // the z coordinate of the insertion point "40": "size", // size "48": "line_scale", // line type scale "50": "rotation", // rotation angle "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "100": "subclass", // subclass marker, AcDbShape "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbSpline": { "0": "etype", // type of entity, SPLINE "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "control_points.x", // the x coordinate of a control point "20": "control_points.y", // the y coordinate of a control point "11": "fit_points.x", // the x coordinate of a fit point "12": "start_tangent.x", // the x value of start tangent direction vector "13": "end_tangent.x", // the x value of end tangent direction vector "21": "fit_points.y", // the y coordinate of a fit point "22": "start_tangent.y", // the y value of start tangent direction vector "23": "end_tangent.y", // the y value of end tangent direction vector "30": "control_points.z", // the z coordinate of a control point "31": "fit_points.z", // the z coordinate of a fit point "32": "start_tangent.z", // the z value of start tangent direction vector "33": "end_tangent.z", // the z value of end tangent direction vector "40": "knot_values", // array of knot values "41": "weights", // array of weights "48": "line_scale", // line type scale "60": "visibility", // object visibility "62": "color", // color number, 0 = ByBlock, 256 = ByLayer "70": "type", // type of the polyline, Closed/Periodic/Rational/Planar/Linear "71": "degree_of_curve", // degree of curvature "72": "number_of_knots", // number of knots "73": "number_of_control_points", // number of control points "74": "number_of_fit_points", // number of fit points "100": "subclass", // subclass marker, AcDbSpline "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbSweptSurface": { "0": "etype", // type of entity, SURFACE "1": "proprietary_data", // proprietary data upto 255 characters (exclusive) "3": "proprietary_data", // proprietary data beyond 255 characters "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the sweep vector "20": "y", // the y coordinate of the sweep vector "30": "z", // the z coordinate of the sweep vector "11": "ref_vector.x", // Reference vector for controlling twist, x value "21": "ref_vector.y", // Reference vector for controlling twist, y value "31": "ref_vector.z", // Reference vector for controlling twist, z value "40": "transform_matrix_sweep2", // Transform matrix of sweep entity (16 reals; row major format; default = identity matrix) "41": "transform_matrix_path2", // Transform matrix of path entity (16 reals; row major format; default = identity matrix) "42": "draft_angle", // Draft angle (in radians) "43": "start_draft_distance", // Start draft distance "44": "end_draft_distance", // End draft distance "45": "twist_angle", // Twist angle (in radians) "46": "transform_matrix_sweep", // Transform matrix of sweep entity (16 reals; row major format; default = identity matrix) "47": "transform_matrix_path", // Transform matrix of path entity (16 reals; row major format; default = identity matrix) "48": "scale_factor", // Scale factor "49": "align_angle", // Align angle (in radians) "70": "sweep_alignment_option", // Sweep alignment option "100": "subclass/specific_type", // subclass marker, AcDbModelerGeometry/AcDbSweptSurface "310": "binary_data", // binary data "330": "ref_id", // the id(s) of entities referring to the current entity "331": "ref_id" // the id(s) of entities referring to the current entity }, "AcDbTable": { "0": "etype", // type of entity, ACAD_TABLE "1": "cell_text", // text string "5": "id", // Entity handle - a unique id for the element; text string of up to 16 hexadecimal digits "6": "line_type", // line type name "7": "style", // text style name "8": "layer", // the layer on which the point is defined "10": "x", // the x coordinate of the insertion point point "20": "y", // the y coordinate of the insertion point point "30": "z", // the z coordinate of the insertion point point "11": "direction.x", // the x coordinate of a direction vector "21": "direction.y", // the y coordinate of a direction vector "31": "direction.z", // the z coordinate of a direction vector "60": "merged_value", // cell merged value, one for each cell "63": "fill_color", // Value for the background (fill) color of cell content, one for each cell "64": "cell_color", // Value for the color of cell content, one for each cell "65": "border_color_right", // True color value for the right border of the cell, one for each cell "66": "border_color_bottom", // True color value for the bottom border of the cell, one for each cell "68": "border_color_left", // True color value for the left border of the cell, one for each cell "69": "border_color_top", // True color value for the top border of the cell, one for each cell "91": "n_rows", // number of rows "92": "n_bytes_proxy_graphics/n_columns", // Number of bytes in the proxy entity graphics/ number of columns "140": "text_height", // Text height value; override applied at the cell level "141": "row_height", // row height, one for each row "142": "column_width", // column width, one for each column "144": "block_scale", // Block scale (real). This value applies only to block-type cells and is repeated, 1 value per cell "145": "rotation", // Rotation va