Arch Reference/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/ru |Местность |Окно |Архитектурный верстак "Arch" |IconL=Arch_Site.svg |Ico...")
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:


{{Docnav/ru
{{Docnav/ru
|[[Arch_Site/ru|Местность]]
|[[Arch_Floor/ru|Этаж]]
|[[Arch_Window/ru|Окно]]
|[[Arch_Window/ru|Окно]]
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|IconL=Arch_Site.svg
|IconL=Arch_Floor.svg
|IconR=Arch_Window.svg
|IconR=Arch_Window.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Arch Reference
|Name=Arch_Reference
|Name/ru=Arch Reference
|Name/ru=Ссылка
|MenuLocation=Arch → Reference
|MenuLocation=Arch → Ссылка
|Workbenches=[[Arch_Workbench/ru|Arch]]
|Workbenches=[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|SeeAlso=[[Arch_BuildingPart/ru|Строительная деталь]]
|Shortcut=
|SeeAlso=[[Arch BuildingPart]]
}}
}}
</div>


==Описание==
==Описание==
Line 29: Line 26:
</div>
</div>


==Применение==
<div class="mw-translate-fuzzy">
==Использование==
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 40: Line 35:
</div>
</div>


==Options==
==Опции==


* The reference object can be moved and rotated, the current position will be retained after reloading the object.
* The reference object can be moved and rotated, the current position will be retained after reloading the object.
Line 48: Line 43:
* 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.
* 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.


==Свойства==
==Properties==


* {{PropertyData|File}}: The base file this component is built upon
* {{PropertyData|File}}: The base file this component is built upon
Line 54: Line 49:
* {{PropertyView|Update Colors}}: If true, the colors from the linked file will be kept updated
* {{PropertyView|Update Colors}}: If true, the colors from the linked file will be kept updated


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


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 console by using the following function:
Line 63: Line 58:
creates a Reference object from the given object in the given file.
creates a Reference object from the given object in the given file.


Пример:
Example:
{{Code|code=
{{Code|code=
import Arch
import Arch
Line 70: Line 65:




{{Docnav
{{Docnav/ru
|[[Arch_Site|Site]]
|[[Arch_Floor/ru|Этаж]]
|[[Arch_Window|Window]]
|[[Arch_Window/ru|Окно]]
|[[Arch_Workbench|Arch]]
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|IconL=Arch_Site.svg
|IconL=Arch_Floor.svg
|IconR=Arch_Window.svg
|IconR=Arch_Window.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg

Latest revision as of 10:40, 25 August 2022

Ссылка

Системное название
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")