Std DlgMacroExecute/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/ru |
{{Docnav/ru |
||
|[[Std_MacroStopRecord/ru|Команда "Остановить запись макроса"]] |
|[[Std_MacroStopRecord/ru|Команда "Остановить запись макроса"]] |
||
Line 9: | Line 10: | ||
|IconC=Freecad.svg |
|IconC=Freecad.svg |
||
}} |
}} |
||
</div> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
Line 23: | Line 25: | ||
The '''Std DlgMacroExecute''' command opens the Execute macro dialog box. From this dialog box macros can be executed, edited and managed. |
The '''Std DlgMacroExecute''' command opens the Execute macro dialog box. From this dialog box macros can be executed, edited and managed. |
||
[[Image:Std_DlgMacroExecute_dialog.png]] |
[[Image:Std_DlgMacroExecute_dialog.png|300px]] |
||
{{Caption|The Execute macro dialog box}} |
{{Caption|The Execute macro dialog box}} |
||
Line 32: | Line 34: | ||
#* Press the {{Button|[[Image:Std_DlgMacroExecute.svg|16px]] [[Std_DlgMacroExecute|Std DlgMacroExecute]]}} button. |
#* Press the {{Button|[[Image:Std_DlgMacroExecute.svg|16px]] [[Std_DlgMacroExecute|Std DlgMacroExecute]]}} button. |
||
#* Select the {{MenuCommand|Macro → [[Image:Std_DlgMacroExecute.svg|16px]] Macros...}} option from the menu. |
#* Select the {{MenuCommand|Macro → [[Image:Std_DlgMacroExecute.svg|16px]] Macros...}} option from the menu. |
||
# The Execute macro dialog box opens. See [[#Options|Options]]. |
# The '''Execute macro''' dialog box opens. See [[#Options|Options]]. |
||
<span id="Options"></span> |
<span id="Options"></span> |
||
==Опции== |
==Опции== |
||
===Find file / Find in files=== |
|||
: {{Version|1.0}} |
|||
: These two input boxes can be used to filter macros from the file list on the '''User macros''' tab or the '''System macros''' tab. You may use regular expressions or simply enter text. All matches are case-insensitive. |
|||
: '''Find file''' filters the list by filename. Only filenames that match the entered text will appear in the list. '''Find in files''' filters the list by file content. Only files whose text content matches the entered text will appear in the list. |
|||
: Remove all text from a filter's input box to disable it. If both input boxes contain text, both filters are applied. Filtering may result in an empty list. |
|||
<span id="User_macros"></span> |
<span id="User_macros"></span> |
||
===Пользовательские макросы=== |
===Пользовательские макросы=== |
||
: The '''User macros''' tab lists the macros available in the '''User macros location'''. |
|||
# Click a macro to select it. |
# Click a macro in the list to select it. |
||
# The name of the selected macro will appear in the '''Macro name''' box. |
# The name of the selected macro will appear in the '''Macro name''' box. |
||
Line 47: | Line 60: | ||
===Системные макросы=== |
===Системные макросы=== |
||
: To make use of the '''System macros''' tab you must create a folder named {{FileName|Macro}} as a sibling folder of the {{FileName|bin}} folder where FreeCAD is installed and put some macros there. |
|||
: The '''System macros''' tab is not used at this time. |
|||
: To find the {{FileName|bin}} folder enter this in the [[Python_console|Python console]]: |
|||
: {{Code|code= |
|||
App.getHomePath() |
|||
}} |
|||
# Click a macro in the list to select it. |
|||
# The name of the selected macro will appear in the '''Macro name''' box. |
|||
<span id="User_macros_location"></span> |
<span id="User_macros_location"></span> |
||
Line 116: | Line 138: | ||
# Two 'walkthrough' dialogs will guide you through the required steps. See [[Interface_Customization|Interface Customization]] for more information. |
# Two 'walkthrough' dialogs will guide you through the required steps. See [[Interface_Customization|Interface Customization]] for more information. |
||
===Download=== |
|||
<span id="Addons"></span> |
|||
===Дополнения=== |
|||
# Press the {{Button| |
# Press the {{Button|Download}} button to start the [[Std_AddonMgr|Addon manager]]. |
||
<span id="Notes"></span> |
<span id="Notes"></span> |
||
Line 132: | Line 153: | ||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/ru |
{{Docnav/ru |
||
|[[Std_MacroStopRecord/ru|Команда "Остановить запись макроса"]] |
|[[Std_MacroStopRecord/ru|Команда "Остановить запись макроса"]] |
||
Line 140: | Line 162: | ||
|IconC=Freecad.svg |
|IconC=Freecad.svg |
||
}} |
}} |
||
</div> |
|||
{{Std Base navi{{#translation:}}}} |
{{Std Base navi{{#translation:}}}} |
Latest revision as of 09:23, 21 April 2024
Макрос |
Системное название |
---|
Std_DlgMacroExecute |
Расположение в меню |
Макрос → Макросs... |
Верстаки |
Все |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Выполнить макрос |
Описание
The Std DlgMacroExecute command opens the Execute macro dialog box. From this dialog box macros can be executed, edited and managed.
The Execute macro dialog box
Применение
- There are several ways to invoke the command:
- Press the Std DlgMacroExecute button.
- Select the Macro → Macros... option from the menu.
- The Execute macro dialog box opens. See Options.
Опции
Find file / Find in files
- These two input boxes can be used to filter macros from the file list on the User macros tab or the System macros tab. You may use regular expressions or simply enter text. All matches are case-insensitive.
- Find file filters the list by filename. Only filenames that match the entered text will appear in the list. Find in files filters the list by file content. Only files whose text content matches the entered text will appear in the list.
- Remove all text from a filter's input box to disable it. If both input boxes contain text, both filters are applied. Filtering may result in an empty list.
Пользовательские макросы
- The User macros tab lists the macros available in the User macros location.
- Click a macro in the list to select it.
- The name of the selected macro will appear in the Macro name box.
Системные макросы
- To make use of the System macros tab you must create a folder named Macro as a sibling folder of the bin folder where FreeCAD is installed and put some macros there.
- To find the bin folder enter this in the Python console:
App.getHomePath()
- Click a macro in the list to select it.
- The name of the selected macro will appear in the Macro name box.
Расположение пользовательских макросов
- Press the ... button to change the user macros location.
- Browse to a different folder and select it.
Выполнить
- To execute a macro do one of the following:
- Select the macro in the list and press the Execute button.
- Double-click the macro in the list.
- The dialog box closes.
- The macro is executed.
Закрыть
- Нажмите Esc или кнопку Закрыть, чтобы закрыть диалоговое окно.
Создать
- Press the Create button to create a new macro file.
- Enter a name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
- Both dialog boxes close.
- The new file is opened in the Macro editor.
Удалить
- Select the macro you want to delete in the list.
- Press the Delete button.
- Press the Yes button in the confirmation dialog box that pops up.
Редактировать
- Select the macro you want to edit in the list.
- Press the Edit button.
- The dialog box closes.
- The selected file is opened in the Macro editor.
Переименовать
- Select the macro you want to rename in the list.
- Press the Rename button.
- Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
Дублировать
- Select the macro you want to duplicate in the list.
- Press the Duplicate button.
- Enter a new name in the dialog box that pops up. You do not have to include the .FCMacro extension.
- Press Enter or the OK button.
Панель инструментов
- Select the macro you want to add to a custom toolbar in the list.
- Press the Toolbar button.
- Two 'walkthrough' dialogs will guide you through the required steps. See Interface Customization for more information.
Download
- Press the Download button to start the Addon manager.
Примечания
- To learn more about macros see the Macros page.
Настройки
- The user macros location can also be changed in the preferences: Edit → Preferences... → Python → Macro → Macro path. See Preferences Editor.
Std Base
- Стандартное меню: Файл, Правка, Вид, Инструменты, Макросы, Окна, Справка
- Структура: Std Part, Std Group, Std LinkMake
- Файл: Создать, Открыть, Закрыть, Закрыть всё, Сохранить, Сохранить как, Сохранить копию, Сохранить всё, Вернуться, Импортировать, Экспортировать, Объединить проект, Информация о проекте, Печать, Предварительный просмотр, Экспортировать в PDF, Недавние файлы, Выход
- Правка: Отменить, Вернуть, Вырезать, Копировать, Вставить, Дублировать выбранное, Обновить, Выделить область, Box element selection, Выбрать всё, Удалить, Расположение, Выравнивание, Редактировать/закончить редактирование, Настройки
- Вид: Создать новый вид, Ортогональная проекция, Перспективная проекция, На весь экран, Стандартные виды (Уместить всё, Уместить выделенное, Isometric, Dimetric, Trimetric, Спереди, Сверху, Справа, Сзади, Снизу, Слева, Повернуть влево, Повернуть вправо), Freeze display (Save views, Load views, Freeze view, Clear views), Стиль представления (Как есть, Плоские линии, Shaded, Каркас, Точки, Скрытые линии, Без затенения), Bounding box, Стерео (Стерео красный/голубой, Четверная буферизация стерео, Стерео с чередованием строк, Стерео с чередованием столбцов, Выключить стерео, Выводить положения камеры), Масштаб (Увеличить, Уменьшить, Увеличить область), Окно документа (Закреплённое, Откреплённое, На весь экран), Показать/скрыть оси координат, Плоскость сечения, Текстурирование, Видимость (Видимость, Показать выделенные, Скрыть выделенные, Выбрать видимые объекты, Инвертировать все видимости, Показать все объекты, Скрыть все объекты, Откл/вкл выделяемость, Показывать замеры, Удалить замер), Навигация/редактирование, Внешний вид, Случайный цвет, Верстак, Панели инструментов (Файл, Верстак, Макрос, Вид, Структура, Навигация), Панели (Отчёт, Иерархия документа, Окно свойств, Просмотр выделения, Комбо панель, Консоль Python, DAG view), Tree view actions (Sync view, Sync selection, Sync placement, Pre-selection, Record selection, Single document, Multi document, Collapse/expand, Initiate dragging, Go to selection), Строка состояния
- Инструменты: Редактор параметров, Сохранить изображение, Инспектор сцены, Граф зависимостей, Project utility, Измерить расстояние, Text document, Поворотный просмотр, Конвертор величин, Настройка, Addon manager
- Макросы: Запись макроса, Остановить запись макроса, Макрос, Выполнить макрос, Отладка макросов, Остановить отладку, Шаг с обходом, Шаг с заходом, Установить/снять точку останова
- Окна: Следующее, Предыдущее, Плиткой, Каскадом, Окна
- Справка: Справка, Сайт FreeCAD, Пользовательская документация, Документация по созданию скриптов на Python, Автоматически сгенерированная документация Python, Форум FreeCAD, FreeCAD ЧаВо, О FreeCAD, Что это?
Документация пользователя
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework