Std DuplicateSelection/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Настройки==")
(Updating to match new version of source page)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:


{{Docnav/ru
{{Docnav/ru
|[[Std_Paste/ru|Команда "Правка → Вставить"]]
|[[Std_Paste/ru|Команда "Вставить"]]
|[[Std_Refresh/ru|Команда "Правка → Обновить"]]
|[[Std_Refresh/ru|Команда "Обновить"]]
|[[Std_Edit_Menu/ru|Меню "Правка"]]
|[[Std_Edit_Menu/ru|Меню "Правка"]]
|IconL=Std_Paste.svg
|IconL=Std_Paste.svg
Line 10: Line 10:
}}
}}


<div class="mw-translate-fuzzy">
<!--Empty=1 to suppress icon-->
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Дублировать выбранное
|Name=Std DuplicateSelection
|Name=Std_DuplicateSelection
|Name/ru=Std DuplicateSelection
|MenuLocation=Правка → Дублировать выбранное
|MenuLocation=Правка → Дублировать выбранное
|Workbenches=Все
|Workbenches=All
|SeeAlso=[[Std_Cut|Std Cut]], [[Std_Copy/ru|Копировать]], [[Std_Paste/ru|Вставить]]
|SeeAlso=[[Std_Cut/ru|Вырезать]], [[Std_Copy/ru|Копировать]], [[Std_Paste/ru|Вставить]]
}}
}}
</div>


==Описание==
==Описание==
Line 39: Line 36:
* Duplicate labels are allowed if {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → DuplicateLabels}} is set to {{TRUE}}. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]].
* Duplicate labels are allowed if {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Document → DuplicateLabels}} is set to {{TRUE}}. This setting can also be changed in the [[Preferences_Editor#Document|Preferences Editor]].


==Scripting==


{{Docnav/ru
The '''Std DuplicateSelection''' command can be applied after selecting one or more objects in the [[Tree_view|Tree view]]:
|[[Std_Paste/ru|Команда "Вставить"]]

|[[Std_Refresh/ru|Команда "Обновить"]]
{{Code|code=
|[[Std_Edit_Menu/ru|Меню "Правка"]]
FreeCADGui.runCommand('Std_DuplicateSelection')
}}

The selection can be manual (by using the mouse), or via the [[Python_console|Python console]].<br>
To know more about selecting objects programmatically, refer to [[Selection_methods|Selection methods]].


{{Docnav
|[[Std_Paste|Paste]]
|[[Std_Refresh|Refresh]]
|[[Std_Edit_Menu|Std Edit Menu]]
|IconL=Std_Paste.svg
|IconL=Std_Paste.svg
|IconR=Std_Refresh.svg
|IconR=Std_Refresh.svg
Line 62: Line 48:
{{Std Base navi{{#translation:}}}}
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 10:49, 18 September 2021

Дублировать выбранное

Системное название
Std_DuplicateSelection
Расположение в меню
Правка → Дублировать выбранное
Верстаки
All
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Вырезать, Копировать, Вставить

Описание

The Std DuplicateSelection command duplicates objects within the active document.

Применение

  1. Select one or more objects.
  2. Select the Edit → Duplicate selected object option from the menu.
  3. If the objects have dependencies that have not been selected, a dialog box will prompt you to specify which should be included.

Примечания

  • FreeCAD will automatically change the internal names and, depending on the preferences, labels of objects to avoid name conflicts.

Настройки

  • Duplicate labels are allowed if Tools → Edit parameters... → BaseApp → Preferences → Document → DuplicateLabels is set to true. This setting can also be changed in the Preferences Editor.