Arch Reference/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 27: Line 27:
<span id="Description"></span>
<span id="Description"></span>
==Описание==
==Описание==

[[Image:Arch reference screenshot.png|800px]]


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Инструмент «Reference» позволяет поместить объект в текущий документ, который копирует его форму и цвета из объекта [[Part Workbench | Part]] (включая [[Arch BuildingPart]]), хранящегося в другом файле FreeCAD. Если этот файл FreeCAD изменяется, ссылочный объект отмечен для перезагрузки.
Инструмент «Reference» позволяет поместить объект в текущий документ, который копирует его форму и цвета из объекта [[Part Workbench | Part]] (включая [[Arch BuildingPart]]), хранящегося в другом файле FreeCAD. Если этот файл FreeCAD изменяется, ссылочный объект отмечен для перезагрузки.
</div>

<div class="mw-translate-fuzzy">
[[Image:Arch reference screenshot.png|800px]]
</div>
</div>


Line 63: Line 65:
==Программирование==
==Программирование==


The Reference tool can by used in [[macros|macros]] and from the python console by using the following function:
The Reference tool can by used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function:

{{Code|code=
{{Code|code=
makeReference ([file_path,object_name])
makeReference ([file_path,object_name])
Line 71: Line 74:


Пример:
Пример:

{{Code|code=
{{Code|code=
import Arch
import Arch

Latest revision as of 14:59, 15 June 2024

THIS COMMAND IS PART OF THE INTEGRATED BIM WORKBENCH IN V1.0
This page has been updated for that version.

Ссылка

Системное название
Arch_Reference
Расположение в меню
Arch → Ссылка
Верстаки
Архитектурный верстак "Arch"
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Строительная деталь

Описание

Инструмент «Reference» позволяет поместить объект в текущий документ, который копирует его форму и цвета из объекта Part (включая Arch BuildingPart), хранящегося в другом файле FreeCAD. Если этот файл FreeCAD изменяется, ссылочный объект отмечен для перезагрузки.

Применение

  1. Нажмите кнопку Arch Reference
  2. Нажмите кнопку «Выбрать файл ...» и выберите существующий файл FreeCAD
  3. Выберите один из включенных объектов на основе частей из раскрывающегося списка
  4. Нажмите OK

Опции

  • The reference object can be moved and rotated, the current position will be retained after reloading the object.
  • If the original object gets moved in containing file, this movement will reflect in the reference object.
  • By right-clicking a Reference object in the tree view, you have the options to reload the original object, or open the containing file.
  • To reference several objects at once, place them inside an Arch BuildingPart.
  • When turning off the Update Colors view property of the Reference, it won't reload the original colors anymore, so you can safely change them.

Свойства

  • ДанныеFile: The base file this component is built upon
  • ДанныеPart: The part to use from the base file
  • ВидUpdate Colors: If true, the colors from the linked file will be kept updated

Программирование

The Reference tool can by used in macros and from the Python console by using the following function:

makeReference ([file_path,object_name])

creates a Reference object from the given object in the given file.

Пример:

import Arch
Arch.makeReference("/path/to/some/file.FSCtd","myPart")