将线型置为活动的
 
 

To use a linetype, you must make it active. All newly created objects are drawn using the active linetype. There are two different methods for applying a linetype to an object: direct or inherited. You can directly assign a linetype to an object which overrides the linetype assigned to the layer the object is on. Otherwise, an object inherits the linetype of the layer it is on by having its Linetype or LinetypeId property set to represent the ByLayer linetype.

要使用线型,必须将其置为活动。所有新创建的对象都使用活动线型绘制。有两种不同的方法可以应用一个线型到对象上:直接的或继承的。你可以直接指定一个线型给一个对象来覆盖图层指定给它的线型。否则,若为对象设置为 ByLayer 描述的线型,它将继承图层的 LinetypeLinetypeId 属性代表的线型。

NoteXref-dependent linetypes cannot be made active.

注意依赖于外部参照的线型不能置为活动。 

There are three linetypes that exist in each drawing: BYBLOCK, BYLAYER and CONTINUOUS. Each of these linetypes can be accessed from the Linetype table object or using methods from the SymbolUtilityServices object. The following methods allow you to obtain the object id for these default linetypes:

有三个线型存在于每个图形中:BYBLOCK、BYLAYER 和 CONTINUOUS。这些线型每一个都可以从线型表对象或使用 SymbolUtilityServices 对象的方法进行访问。下列方法允许你获得这些默认线形的对象编号:

For more information about activating a linetype, see “Set the Current Linetype” in the AutoCAD User's Guide.

更多关于激活线型的详细信息,请参见《AutoCAD 用户手册》中的“设置当前线型”。