Civil 3D API has "TinSurfaceVertex" class and "GridSurfaceVertex" class.
I use those to get vertex:
foreach (GridSurfaceVertex vertice in GridSurface.Vertices) { Autodesk.AutoCAD.Geometry.Point3d punt = new Autodesk.AutoCAD.Geometry.Point3d(vertice.Location.X, vertice.Location.Y, vertice.Location.Z); pt3dColl.Add(punt); }
But TinVolumeSurface or GridVolumeSurface don´t have neither "TinVolumeSurfaceVertex" or "GridVolumeSurfaceVertex".
Are there other ways to get vertex from these surface types?
Thank you.
Solved! Go to Solution.
Civil 3D API has "TinSurfaceVertex" class and "GridSurfaceVertex" class.
I use those to get vertex:
foreach (GridSurfaceVertex vertice in GridSurface.Vertices) { Autodesk.AutoCAD.Geometry.Point3d punt = new Autodesk.AutoCAD.Geometry.Point3d(vertice.Location.X, vertice.Location.Y, vertice.Location.Z); pt3dColl.Add(punt); }
But TinVolumeSurface or GridVolumeSurface don´t have neither "TinVolumeSurfaceVertex" or "GridVolumeSurfaceVertex".
Are there other ways to get vertex from these surface types?
Thank you.
Solved! Go to Solution.
Hi,
Looks like these are missing...
I have logged an API wish list to expose these API in .NET
Thanks,
Partha
Hi,
Looks like these are missing...
I have logged an API wish list to expose these API in .NET
Thanks,
Partha
Thank you.
Thank you.
Can't find what you're looking for? Ask the community or share your knowledge.