I modified your sldlfp (clean, don't rely on a plan that doesn't exist in the target room, remove the unnecessary function, undo the deletion of the sketch and function in all configurations and it seems to work for me)
I tested your version, and it works, but not as I wanted.
In fact I would have liked to select my pipe face to insert my curved bottom, with your function I have to create an additional plan.
Maybe I'm not very clear..??
FYI: To do my function I tried to copy the spirit of function already present in solidworks, hence maybe my method a bit strange!
There were too many elements, because I did tests that I left in the function to come back to ..
I'm on solidworks 2015.
Attached is another function (flange) that works as I want by selecting the face of the tube, and this principle that I wanted to do on the domed bottom!
I tested your version, and it works, but not as I wanted.
In fact I would have liked to select my pipe face to insert my curved bottom, with your function I have to create an additional plan.
Maybe I'm not very clear..??
FYI: To do my function I tried to copy the spirit of function already present in solidworks, hence maybe my method a bit strange!
There were too many elements, because I did tests that I left in the function to come back to ..
I'm on solidworks 2015.
Attached is another function (flange) that works as I want by selecting the face of the tube, and this principle that I wanted to do on the domed bottom!
You have to add your axis and your plan to the library, the problem is that Plan 1 is created with the top plane, so it always asks for the top plane as a reference.
You then have to find a way to create Plan 1 without relying on the top plan, but I don't really see how to do it, if anyone has an idea it would be cool.
If you look at the flange function, you can see that you are leaning on one side of a tube that you are not adding to the library. I can't do the same for the curved bottom!
With the help of a colleague we found a solution, see the attached ichier.
You have to put the sldlfp on the pane (circular) side, and you select the two edges of your tube, so, no matter the diameter of your tube, it will fit, I'll let you test and see how it's done. (it's a little bit far-fetched)
Keep me informed
Mick
PS: The first edge to select should be the inner edge.
I think it's possible, it has to be an advanced "personalized" training, or maybe consulting, basically, I think you have to prepare what you want to see on your side and talk to your salesperson about it