How to get geometry of pipe by Civil 3D API?

How to get geometry of pipe by Civil 3D API?

moonlikestoneBX57A
Enthusiast Enthusiast
2,069 Views
6 Replies
Message 1 of 7

How to get geometry of pipe by Civil 3D API?

moonlikestoneBX57A
Enthusiast
Enthusiast

Hi, 

I need to get the complete geometry information of pipe element by Civil 3D API, such as surface, point and line etc.

But I could not find any idea to get above information, can anybody help me?

 

Thanks a lot!!

0 Likes
Accepted solutions (1)
2,070 Views
6 Replies
Replies (6)
Message 2 of 7

TiStars
Advisor
Advisor

Hi,

 

Have you checked Civil 3D .NET API Reference? I can see "SurfaceId" property, it seems you can get pipe surface by it.

 

 


天涯海角的山姆


您认为此帖子是否有用?欢迎为此帖点赞。

您的问题是否已得到解答?请点击“接受解答”按钮。


EESignature



0 Likes
Message 3 of 7

moonlikestoneBX57A
Enthusiast
Enthusiast

@TiStars wrote:

Hi,

 

Have you checked Civil 3D .NET API Reference? I can see "SurfaceId" property, it seems you can get pipe surface by it.

 

 


Hi, TiStars:

The "SurfaceId" property of pipe is seem to defined the reference surface of pipe, and "RefSurfaceId" property has been instead of this property in the API. 

 

And I'm not sure whether the API provide this method to get the detail geometry information of pipe....

 

Thanks for your request!

0 Likes
Message 4 of 7

Anonymous
Not applicable

What do you mean "Surface" here? Pipe has Surface information?

0 Likes
Message 5 of 7

moonlikestoneBX57A
Enthusiast
Enthusiast

Hi, 

Because the IFC Export could not fulfill the demand of me, I want get all information of pipe and export to an IFC file by myself.

For this reason, I need to get geometry and non-geometry information of pipe.

If Civil 3D API allow user to get those geometry information, then I want to know how to do?

 

Thanks!

 

0 Likes
Message 6 of 7

Anonymous
Not applicable
Accepted solution

I think you can get the geometry information with properties like StartPoint, EndPoint, Slope, InnerDiameterOrWidth, InnerHeight

Message 7 of 7

Anonymous
Not applicable

@Anonymous :- As we can open civil 3d dwg file in Autocad and see the object (geometry) properties in properties dialog,Is it possible to get Civil3d geometry properties of pipe or any other object in Autocad without using Civil 3d API?If yes how can we get those properties?

0 Likes