- Transaction tr = doc.TransactionManager.StartTransaction();
- using (tr)
- {
- TinSurface surf = Surface.GetSurfaceObject(m_name);
- ObjectIdCollection coll = null;
- coll = Selection.Sset3dPolyline();
- SurfaceOperationAddContour contlines = null;
- try
- {
- contlines = surf.ContoursDefinition.AddContours(coll, 1.0, 100.0, 15.0, 4.444);
- surf.Rebuild();
- }
- catch (System.Exception ex)
- {
- }
- tr.Commit();
- }
大家好!
我对metod米多轮廓定义有疑问。在Civil3d-api中添加等高线(coll,1.0,100.0,15.0,4.444)
如果我手动将等高线添加到曲面,请选择要添加的3d多段线并给出参数
中距距离= 1
最大距离= 100
剔除距离= 15
剔除角度= 4,444
(见图1)
所选3d多段线之间的三角剖分看起来很好。
但如果我用metod米多ContoursDefinition做同样的事情。AddContours()看起来不一样。我不明白为什么。我错过了什么吗?!
(见图2)
dnsgm5mgbje.png
qutdvdf4wyt.png
本帖以下内容被隐藏保护;需要你回复后,才能看到! 游客,如果您要查看本帖隐藏内容请 回复 |