Hello I have an extrusion to the surface and I would like to retrieve the value of the extrusion to put it in the properties of the part (for the bill of materials) I can do it with a blind extrusion, but not if I do it all the way to the surface
How is your " A " part positioned in relation to "B " part ... randomly?with a distance constraint (who says constraint says dimension)?.. Other?
The principle of extrusions " to the next surface " is precisely that you don't have to dimension the surface, or if the surface in question is not flat.
That's exactly what I was going to say @Maclane ! Measurement sensors seem to me to be the perfect solution to do this. I've already used it to output an arc press value: it works pretty well!!
Hello, otherwise there is a simple and effective solution that I don't see proposed here. Just create a new sketch on the plan of your extrusion, draw a line that goes from one end of it to the other, and bam! You have a value that you can call (e.g. D1@Esquisse3).
Indeed, but @cedric_keiflin is not looking for how to transform a dimension into a reference I think he knows how to do it, he is looking for how to link one to his extrusion function which has no fixed value since it is linked to a distance from a surface.
Example: My green body is an extrusion " to the surface "
I create a sketch on a plane parallel to the extrusion, I draw a line on it and I put a driven dimension on it, this gives us the value D1Sketch4 callable
The reference rating meets my needs I'm going to test the history of measurement sensors! For the sketch line that we dimension next, I had already used it
All you have to do is choose your faces to measure and presto, it's done. You still have to remember it in your 2D plan, but it's quite easy to do since it appears in the drop-down menus of " Linked to property " → " Model found here " → " Selection "
Small bonus advantage: if you have a config where your distance evolves, the result of the equation evolves too!