Arquitectura Referencia

From FreeCAD Documentation
Revision as of 07:37, 14 August 2021 by Maker (talk | contribs) (Created page with "crea un objeto Referencia a partir del objeto dado en el archivo dado.")

Arch Reference

Ubicación en el Menú
Arch → Reference
Entornos de trabajo
Arch
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
Arch BuildingPart

Descripción

La herramienta de referencia le permite colocar un objeto en el documento actual que copia su forma y los colores de un objeto basado en Part (incluido Arch BuildingPart) almacenado en otro archivo FreeCAD. Si ese archivo de FreeCAD cambia, el objeto de referencia se marca para ser recargado.

Utilización

  1. Presione el botón Arch Reference
  2. Presiona el botón "Choose file..." y selecciona un archivo FreeCAD existente
  3. Seleccione uno de los objetos basados ​​en piezas incluidos de la lista desplegable
  4. Presiona OK

Opciones

  • 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.

Propiedades

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

Programación

La herramienta Referencia puede utilizarse en macros y desde la consola de python utilizando la siguiente función:

makeReference ([file_path,object_name])

crea un objeto Referencia a partir del objeto dado en el archivo dado.

Ejemplo:

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