To delete a linetype, use the Erase method. You can delete a linetype at any time during a drawing session; however, linetypes that cannot be deleted include BYLAYER, BYBLOCK, CONTINUOUS, the current linetype, a linetype in use, and xref-dependent linetypes. Also, linetypes referenced by block definitions cannot be deleted, even if they are not used by any objects.
要删除线型,请使用 Erase 方法。在执行绘图任务期间,可以随时删除线型,但不能删除 BYLAYER 线型、BYBLOCK 线型、CONTINUOUS 线型、当前线型和依赖于外部参照的线型。另外,被块定义参照的线型也不能删除,即使没有任何对象使用它们。
For more information about deleting linetypes, see “Set the Current Linetype” in the AutoCAD User's Guide.
更多关于删除线型的详细信息,请参见《AutoCAD 用户手册》中的“设置当前线型”。