Function EntCopy(ByVal ent As Entity, ByVal sourcePt As Point3d, ByVal targetPt As Point3d) As ObjectId
Dim mt As Matrix3d = Matrix3d.Displacement(targetPt - sourcePt)
'Dim Copy As Entity = ent.GetTransformedCopy(mt)
Dim Copy As Entity = ent.Clone
Copy.TransformBy(mt)
AddEnt(Copy)
Return Copy.ObjectId
End Function
|
|
暂时没有评论
| 发表评论 - 不要忘了输入验证码哦! |
用户登陆
站点日历
站点统计
最新评论
GetTransformedCopy [ 日期:2016-01-06 ] [ 来自: