Widok wyboru

From FreeCAD Documentation
Revision as of 18:26, 10 October 2023 by Kaktus (talk | contribs) (Created page with "Począwszy od wersji 0.19, dostępne jest pole wyboru {{MenuCommand|lista obiektów wskazanych}}. Jeśli jest ono zaznaczone, pojawi się dodatkowa lista pokazująca wszystkie elementy podrzędne ''(wierzchołki, krawędzie i ściany)'', które można wybrać jednym kliknięciem, nawet te, które znajdują się za ''(ukryte przez)'' innymi obiektami.")

Wprowadzenie

Widok wyboru jest panelem interfejsu domyślnie znajdującym się poniżej widoku złożonego. Podobnie jak edytor właściwości, pokazuje on więcej informacji o aktualnie wybranych obiektach.

Wyboru można dokonać poprzez zaznaczenie obiektu w Widoku 3D lub w Widoku drzewa. Wiele obiektów można zaznaczyć przytrzymując Ctrl.

Widok wyboru oznaczony cyfrą 5, w standardowym Interfejsie użytkownika.

Zaznaczanie obiektów

Widok drzewa tego przykładu zawiera dwie Zawartości środowiska Projekt Części, z kilkoma cechami każda, oraz prosty Stożek środowiska Część. Drzewo wygląda następująco.

The selection view is empty if no object is selected in the 3D view or in the tree view.

If you select an object, it will appear in the list of objects, together with the document it belongs to. Both the read-only internal Name, and the user changeable Label will be displayed.

The Name can contain only basic alphanumeric characters [_0-9a-zA-Z], while the Label can contain any symbol including spaces and accented characters.

Document#Name (Label)

If you select various objects, they will be listed in the view. If these objects are located inside a type of container, for example, a PartDesign Body, the displayed name will be given in a hierarchical manner, that is, Document#Parent.Child. In this case, not only the child, but the entire parent will appear highlighted in the 3D view.

Document#Body.Feature. (Feature_label)

Individual body elements, that is, vertices, edges, and faces, can be selected, and they will be displayed in a hierarchical manner as well.

Document#Body.Feature.Vertex (Feature_label)
Document#Body.Feature.Edge (Feature_label)
Document#Body.Feature.Face (Feature_label)

Pasek wyszukiwania

If you have many objects in your document and you cannot pick the one that you want from the 3D view or from the tree view, you can write the partial name of the object in the search field; it will search all names in the document, and show a list of those that partially match the text that you entered. When you find the object that you are looking for, you may click on it to select it.

Działania

Right clicking on an element in the list brings up various commands.

  • Select only: deselects everything, and selects only the parent object that contains the given element.
  • Deselect: completely removes the selection of all objects.
  • Zoom to fit: deselect everything, ans selects only the parent object that contains the given element. Moreover, the 3D view is panned and zoomed so that the parent object is centered on the screen. This is useful when selecting one object in the tree view, and then quickly focus the camera on it in the 3D view.
  • Go to selection: deselects everything, and selects only the the parent object that contains the selected element. In this case, the tree view is adjusted and expanded to show exactly where the selected object is in the tree. This is useful when the objects in the 3D view are contained inside many container objects in the tree view, for example, Std Parts, Std Groups, PartDesign Bodies, Arch BuildingParts, and similar. When you have hundreds of bodies, it is easier to select the object in the 3D view, and then choose Go to selection, to immediately locate the object in the tree view, and then proceed to edit its properties in the Property editor.
  • Mark to recompute: marks the selected object as "Touched", meaning that its properties will be updated next time the document is recomputed.
  • To Python console: this creates a variable obj that holds a reference to the parent object. This is useful when writing scripts and testing commands in the Python console. Instead of using the full name of the object, it's easier to use the shorter and more compact name obj.

Wskazany obiekt

Począwszy od wersji 0.19, dostępne jest pole wyboru lista obiektów wskazanych. Jeśli jest ono zaznaczone, pojawi się dodatkowa lista pokazująca wszystkie elementy podrzędne (wierzchołki, krawędzie i ściany), które można wybrać jednym kliknięciem, nawet te, które znajdują się za (ukryte przez) innymi obiektami.