Hello everyone,
when I create a pipe with the API, I verify that its length is superior to the application short curve tolerance defined by the API (application.ShortCurveTolerance). Otherwise I display a message to the user that the pipe cannot be drawn.
But id I create a pipe and then I create a fitting (tee or elbow) the pipe gets shorter (the fitting takes from the length of the pipe) and even if I did the length verification I get a warning message by Revit telling me that the pipe was too short and needs to be deleted whiche is not what I want.
So I want to know how much length the tee or the elbow takes from the pipe so that I can do my verification properly.
If anyone have an idea about this problem I would highly appreciate your help.
Thanks in advance
Hello everyone,
when I create a pipe with the API, I verify that its length is superior to the application short curve tolerance defined by the API (application.ShortCurveTolerance). Otherwise I display a message to the user that the pipe cannot be drawn.
But id I create a pipe and then I create a fitting (tee or elbow) the pipe gets shorter (the fitting takes from the length of the pipe) and even if I did the length verification I get a warning message by Revit telling me that the pipe was too short and needs to be deleted whiche is not what I want.
So I want to know how much length the tee or the elbow takes from the pipe so that I can do my verification properly.
If anyone have an idea about this problem I would highly appreciate your help.
Thanks in advance
Yes, sure. Try it out, like this:
The minimum pipe length almost certainly depends on the specific fitting and its properties. Maybe you can use those properties to calculate the specific minimum pipe length on a per-fitting basis. Please let us know what you find out and how you end up solving this. Thank you!
Yes, sure. Try it out, like this:
The minimum pipe length almost certainly depends on the specific fitting and its properties. Maybe you can use those properties to calculate the specific minimum pipe length on a per-fitting basis. Please let us know what you find out and how you end up solving this. Thank you!
Can't find what you're looking for? Ask the community or share your knowledge.