- 积分
- 1694
- 明经币
- 个
- 注册时间
- 2002-4-21
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2002-7-19 23:28:00
|
显示全部楼层
线宽
例如:
pEnt->setLineWeight(AcDb::kLnWt040);//设置线宽为0.4mm
线宽:实体的线宽用AcDb:ineWeight牧举表示。用户给的值必须是牧举中的值。
下列函数用于实体的线宽设置和查询:
virtual Acad::ErrorStatus setLineWeight(AcDb:ineWeight lineweight);
AcDb:ineWeight lineWeight() const;
线宽的牧举定义:
enum AcDb:ineWeight {
kLnWt000 = 0,
kLnWt005 = 5,
kLnWt009 = 9,
kLnWt013 = 13,
kLnWt015 = 15,
kLnWt018 = 18,
kLnWt020 = 20,
kLnWt025 = 25,
kLnWt030 = 30,
kLnWt035 = 35,
kLnWt040 = 40,
kLnWt050 = 50,
kLnWt053 = 53,
kLnWt060 = 60,
kLnWt070 = 70,
kLnWt080 = 80,
kLnWt090 = 90,
kLnWt100 = 100,
kLnWt106 = 106,
kLnWt120 = 120,
kLnWt140 = 140,
kLnWt158 = 158,
kLnWt200 = 200,
kLnWt211 = 211,
kLnWtByLayer = -1,
kLnWtByBlock = -2,
kLnWtByLwDefault = -3}; |
|