Std DlgMacroExecute/ru
Макрос
|
Расположение в меню
|
Макрос → Макрос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
Macros... button.
- Select the Macro →
Macros... option from the menu.
- The Execute macro dialog box opens. See Options.
Опции
Find file / Find in files
- introduced in 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.
Пользовательские макросы
- 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:
- 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.
Настройки
See also: Preferences Editor.
- The user macros location can also be changed in the preferences: Edit → Preferences... → Python → Macro → Macro path.
Std Base
- Файл: Создать, Открыть, Закрыть, Закрыть всё, Сохранить, Сохранить как, Сохранить копию, Сохранить всё, Вернуться, Импортировать, Экспортировать, Объединить проект, Информация о проекте, Печать, Предварительный просмотр, Экспортировать в 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