.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Convert a line to a pipe

2 REPLIES 2
Reply
Message 1 of 3
eduardo_salvador02
230 Views, 2 Replies

Convert a line to a pipe

Hello! Does anyone know how to convert a line object to a pipe object using the .NET API in Plant 3D?

2 REPLIES 2
Message 2 of 3

Not many here have coded P3D. I would suspect you would do something like the following workflow.

1. prompt the user to select a line

2. get the line's Start and End points

3. add a pipe object using the line's start and end points.

4. modify any pipe properties you want. Maybe prompt the user for input.

5. erase the  line.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 3 of 3

If you download the Plant 3D SDK you will find an example on how to create a pipeline.

Then using Ed's suggestion, you cycle through your lines and use their end ponits.

If my reply was helpful, please give a "Thumbs Up" or "Accept as Solution"

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report