Arch: Reference/Referință
Arch Reference |
Menu location |
---|
Arch → Reference |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch BuildingPart |
Descriere
Instrumentul de referință vă permite să plasați un obiect în documentul curent care copiază forma și culorile acestuia dintr-un obiect Part (inclusiv Arch BuildingPart) stocate într-un alt fișier FreeCAD. Dacă se modifică fișierul FreeCAD, obiectul de referință este marcat să fie reîncărcat.
Cum se folosește
- Press the Arch Reference button
- Press the "Choose file..." button and select an existing FreeCAD file
- Select one of the included Part-based objects from the drop-down list
- Press OK
Opţiuni
- 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
Proprietăți
- DateFile: The base file this component is built upon
- DatePart: The part to use from the base file
- VizualizareUpdate Colors: If true, the colors from the linked file will be kept updated
Scripturi
Instrumentul BuildingPart poate fi utilizat în macro-uri și din consola Python utilizând următoarea funcție:
makeReference ([file_path,object_name])
creează un oeict tip Reference din obiectul datîn fișierul dat.
Exempluː
import Arch
Arch.makeReference("/path/to/some/file.FSCtd","myPart")