.. _class_import_local_dxf_string_base64: import_local_dxf_string_base64 ============================== 导入本地dxf文件 --------------- **图块代码** .. image:: img/import_local_dxf_string_base64.png ---- **javascript** .. code-block:: javascript var s = "" jih_doc.geom_dxf_string(s, 1, color, axis_dir, true) ---- **python** .. code-block:: python s = "" jih_doc.geom_dxf_string(s, 1, color, axis_dir, True) ---- **npl** .. code-block:: lua local s = "" jih_doc:geom_dxf_string(s, 1, color, axis_dir, true) ---- 参数 ---- +------------+----------+-------------+--------+ | 参数 | 类型 | 默认值 | 说明 | +============+==========+=============+========+ | color | string | "#ffc658" | | +------------+----------+-------------+--------+ | axis_dir | string | "'z'" | | +------------+----------+-------------+--------+ 示例 ---- .. tabs:: .. tab:: javascript .. code-block:: javascript var s = "" jih_doc.geom_dxf_string(s, 1, "#ffc658", 'z', true) .. tab:: python .. code-block:: python s = "" jih_doc.geom_dxf_string(s, 1, "#ffc658", 'z', True) .. tab:: npl .. code-block:: lua local s = "" jih_doc:geom_dxf_string(s, 1, "#ffc658", 'z', true)