- 积分
- 285
- 明经币
- 个
- 注册时间
- 2010-5-28
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
楼主 |
发表于 2010-12-15 10:43:50
|
显示全部楼层
点对象 using (BlockReference bref = new BlockReference(Ent.pt, idx))
{
bref.Rotation = Ent.Angle;
bref.LayerId = Lay;
bref.Linetype = "CONTINUOUS";
//bref.BlockUnit = UnitsValue.Centimeters;
bref.ScaleFactors = new Scale3d(0.5, 0.5, 1);
//zyGlobal.zyComFun.AddEntityToMap(bref, DocNew);
DrawEntity(bref, DocNew, Lay);
}
注记
Entity Tex = Ent.Clone() as Entity;
Tex.LayerId = Lay;
Tex.Linetype = "CONTINUOUS";
//zyGlobal.zyComFun.AddEntityToMap(Tex, DocNew);
DrawEntity(Tex, DocNew, Lay);
线:Entity line = Ent.Line.Clone() as Entity;
line.LayerId = Lay;
line.Linetype = LineType;
DrawEntity(line, DocNew, Lay); |
|