Arch Reference

From FreeCAD Documentation
Revision as of 22:12, 7 March 2019 by Mario52 (talk | contribs) (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎română • ‎русский
Arrow-left.svg Previous: Arch Site.svg Site
Next: Window Arch Window.svg Arrow-right.svg

Arch Reference.svg Arch Reference

Menu location
Arch → Reference
Workbenches
Arch
Default shortcut
Introduced in version
-
See also
Arch BuildingPart


Description

Arch reference screenshot.png

The Reference tool allows you to place an object in the current document that copies its shape and colors from an Part-based object (including Arch BuildingPart) stored in another FreeCAD file. If that FreeCAD file changes, the reference object is marked to be reloaded.

How to use

  1. Press the Arch Reference.png Arch Reference button
  2. Press the "Choose file..." button and select an existing FreeCAD file
  3. Select one of the included Part-based objects from the drop-down list
  4. Press OK

Options

  • 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 object at once, place them inside an Arch BuildingPart
  • When turning off the Update Colors view property of the Reference, it son't reload the original colors anymore, so you can safely change them

Properties

  • DATAFile: The base file this component is built upon
  • DATAPart: The part to use from the base file
  • VIEWUpdate Colors: If true, the colors from the linked file will be kept updated

Scripting

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.

Example:

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


Arrow-left.svg Previous: Arch Site.svg Site
Next: Window Arch Window.svg Arrow-right.svg