About the poll, executive summary. There is a PR that will allow you to skip some of the dialogs in the Part Workbench by pre-selecting objects prior to executing the command. For example, select 2 sketches and click the Loft toolbar icon, and a Loft is created without opening the dialog. Select a sketch and a path, click the sweep toolbar icon, and a sweep object is created without the dialog. You can avoid skipping the dialog in 2 ways: 1) don't preselect anything, and 2) set a user preference NeverSkipDialog to True. The question for the poll is whether NeverSkipDialog should default to True or False. There are fairly specific requirements for skipping the dialogs. If there is a selection error, for example only 1 sketch for a loft, then the dialog is shown as before. So, there is no harm with an invalid pre-selection.
There is no change to the dialogs. They are either shown as before or not shown.
******************************************
The idea is to be able to bypass the task dialog sometimes for these 4 operations:
Part Extrude
Part Sweep
Part Loft
Part Revolve
- Extrude: Select the profile to extrude in the Tree View and select an Edge in the 3D View to define the direction and length of the extrude.
The Edge must be a straight edge line segment. The DirLink property is set to this Edge and the
- Sweep: Select the profile(s) in the Tree View and the Path in the 3D View to define the sections and the spine. The spine edges must all be subojects of the same spine object. Use a SubShapeBinder if needed. These work in Part, but you need to create them in Part Design and drag them out of the body.
- Loft: Select the profiles in the Tree View or 3D View (since no subobjects are applicable here). A Vertex can be used for one of the profiles, for example to make a pyramid, but it must be an object with only a single vertex, e.g. Part::Vertex or Draft::Point or a sketch with only a single non-construction mode Point.
- Revolve: Select the profile in the Tree View and the edge to use as a reference in the 3D View. The reference can be a line segment or an arc.
The AxisLink property is set to this edge.
If the selection is invalid, then the dialog is shown. This is implemented in a python script file. If there is a runtime error in the script this is detected and the dialog is shown.
The dialog is not populated with anything from the selection unless that is already the case, such as with Extrude and Revolve where the selected profiles are used. Basically, this will change nothing about the current implementation of the dialogs. The dialogs are either skipped or shown and work exactly like before.