I modified a Window Family file by adding a Window inset parameter. When I inserted the window into a wall, otherwise the window worked fine, but when I changed the window's Window Inset value, the frame depth changed instead of the frame's location. The frame was originally made by Sweep tool, but now when I made it by Extrusion tool, the window works fine. Anyway, for future purposes, I would like to know how to be able to use the Window Inset parameter with a frame made by Sweep tool. How do I lock the depth of the frame sweep?
I would create a new reference plane to control the inset, and convert that dimension that you have on the right side of the screen showing "100" , to the "Frame Depth" parameter. Edit the profile of the sweep so that it is attached to this new reference plane. Tthere is a detail component in plan, at the same place of the sweep, therefore you need to test these changes in plan and section view.