Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get vertex from volume surface.

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
joantopo
510 Views, 2 Replies

Get vertex from volume surface.

joantopo
Mentor
Mentor

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.

 

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes

Get vertex from volume surface.

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.

 

 

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: joantopo

Anonymous
Not applicable
Accepted 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

Message 3 of 3
joantopo
in reply to: Anonymous

joantopo
Mentor
Mentor

Thank you.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes
0 Likes

Thank you.

Autocad C3D 2019 SP3, 2020 & 2021
Intel I9 9900K with frontal watercooler alphacool eisbaer 360 (original fans mounted in pull)- 3 fans Corsair 120 ML PRO in push.
MOBO Gygabyte Z390 Aorus Master- Corsair RGB Vengeance 64GB RAM (4x16) CL16
Nvidia Quadro RTX 4000
Samsung 970 EVO PLUS 1TB (unit C). Samsung 970 PRO 512GB (for data)
Power Supply: Corsair TX850M PLUS


Descubre mi programa VisorNET para Civil 3D:
https://apps.autodesk.com/CIV3D/es/Detail/Index?id=appstore.exchange.autodesk.com%3avisornet_windows32and64%3aes

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report