概述
属性编辑器是FreeCAD最重要的工具之一,也是FreeCAD使用的主要元素。
属性编辑器允许管理文档中对象的属性。
The Property View appears in the lower section of the Model panel (if the Combo View is active) or as a stand-alone panel.
通常,属性编辑器一次只处理一个对象。属性编辑器中显示的值属于活动文档的活动对象(如果您处理多个文档,请注意哪个文档是真正活动文档)。如果您没有选择任何元素(或没有元素),则属性编辑器将为空。
并不是所有的属性都可以随时修改。根据具体状态,某些属性将显示为只读。
The Data properties of a Part Box
属性定义
一个属性是一条信息,如一个数字或文本字符串,附加到一个FreeCAD文档或文档中的一个对象。可以使用属性编辑器修改属性,如果允许的话。
A property is a piece of information like a number or a text string that is attached to a FreeCAD document or an object in the document. Many property types are available. Some of the most common types are:
App::PropertyAngle
App::PropertyBool
App::PropertyDistance
App::PropertyFloat
App::PropertyInteger
App::PropertyLength
App::PropertyPlacement
App::PropertyString
App::PropertyVector
View and Data properties
有两种功能属性类型,可通过属性编辑器下方的选项卡来访问:
- 视图View : 关于对象“视觉”显示方面上的各种属性。
- 数据Data : 关于对象“物理”参数的各种属性。
Basic properties
Different objects may have different properties. However, many objects have the same properties because they are derived from the same internal class.
Most geometrical objects that can be created and displayed in the 3D View are derived from a Part::Feature. See Part Feature for the basic properties these objects have.
For 2D geometry, most objects are derived from a Part::Part2DObject (itself derived from a Part::Feature) which is the base of Sketches, and most Draft objects. See Part Part2DObject for the basic properties these objects have.
To display the context menu of the Property View right-click the background, or right-click a property.
Right-clicking the background shows three options:
- Add Property: adds a dynamic property to the object.
- Property groups collapse/expand when you click their name. Property nodes collapse/expand when you click the symbol (usually an arrow) in front of their name.
- Expand to Default: property groups are expanded and property nodes are collapsed for the current object.
- Expand All: property groups and property nodes are expanded for the current object.
- Collapse All: property groups and property nodes are collapsed for the current object.
- Default Expand: when an objects is selected, property groups appear expanded and property nodes appear collapsed.
- Auto Expand: when an objects is selected, property groups and property nodes appear expanded.
- Auto Collapse: when an objects is selected, property groups and property nodes appear collapsed.
- Show Hidden: if active, hidden Data and View properties are shown.
When right-clicking a property the following additional options are available:
- Copy: copies the property value to the clipboard.
- Rename Property Group: renames the property group of selected properties. Only available for dynamic properties. Dynamic properties are those added by the user.
- Edit Property Tooltip: edits the tooltip of the selected property. Idem. introduced in 1.1
- Delete Property: deletes selected properties. Idem.
- Expression: brings up the Expression Editor, which allows using expressions in the property value.
- If a status value is followed by an asterisk (*) it is static and cannot be changed.
- Hidden: if active, sets the property as hidden, meaning that it will only be displayed in the Property View if Show Hidden is active.
- Output: if active, sets the property as output.
- NoRecompute: if active, modifying the property doesn't touch its container for recompute.
- ReadOnly: if active, sets the property as read-only. The property won't be editable in the Property View. It may however still be possible to change the property via a dialog.
- Transient: if active, sets the property as transient. The value of a transient property is not saved to file. When opening a file, it is instantiated with its default value.
- Touched: if active, the object becomes touched, and ready for recompute.
- EvalOnRestore: if active, the property is evaluated when the document is restored.
- CopyOnChange: if active, the property is copied when changed in a Link. The Link's 数据Link Copy On Change property must be set to
Tracking or Enabled for this to work. This is related to Variant Links.
Scripting
See FeaturePython Custom Properties.
Preferences
See Combo view.

Interface Customization/zh-cn
Workbenches/zh-cn

Interface
- Preferences Editor, Interface Customization
- Main window: Standard menu, Main view area, 3D View, Combo view (Tree View, Task Panel, Property View), Selection view, Report View, Python console, Status Bar, DAG View, Workbench Selector
- Auxiliary windows: Scene inspector, Dependency graph
Std Base
- File: New Document, Open, Open Recent, Close, Close All, Save, Save As, Save Copy, Save All, Revert, Import, Export,Merge Document, Document Information, Print, Print Preview, Export PDF, Exit
- Edit: Undo, Redo, Cut, Copy, Paste, Duplicate Object, Recompute, Box Selection, Box Element Selection, Select All, Delete, Send to Python Console, Placement, Transform, Align To, Toggle Edit Mode, Properties, Edit Mode, Preferences
- View:
- Miscellaneous: New 3D View, Orthographic View, Perspective View, Fullscreen, Bounding Box, Toggle Axis Cross, Clipping View, Texture Mapping, Toggle Navigation/Edit Mode, Material, Appearance, Random Color, Appearance per Face, Toggle Transparency, Workbench, Status Bar
- Standard Views: Fit All, Fit Selection, Align to Selection, Isometric, Dimetric, Trimetric, Home, Front, Top, Right, Rear, Bottom, Left, Rotate Left, Rotate Right, Store Working View, Recall Working View
- Freeze Display: Save Views, Load Views, Freeze View, Clear Views
- Draw Style: As Is, Points, Wireframe, Hidden Line, No Shading, Shaded, Flat Lines
- Stereo: Stereo Red/Cyan, Stereo Quad Buffer, Stereo Interleaved Rows, Stereo Interleaved Columns, Stereo Off, Issue Camera Position
- Zoom: Zoom In, Zoom Out, Box Zoom
- Document Window: Docked, Undocked, Fullscreen
- Visibility: Toggle Visibility, Show Selection, Hide Selection, Select Visible Objects, Toggle All Objects, Show All Objects, Hide All Objects, Toggle Selectability
- Toolbars: File, Edit, Clipboard, Workbench, Macro, View, Individual Views, Structure, Help, Lock Toolbars
- Panels: Tree View, Property View, Model, Selection View, Python Console, Report View, Tasks, DAG View
- Overlay Docked Panel: Toggle Overlay for All Panels, Toggle Transparent Panels, Toggle Overlay, Toggle Transparent Mode, Bypass Mouse Events in Overlay Panels, Toggle Left, Toggle Right, Toggle Top, Toggle Bottom
- Link Navigation: Go to Linked Object, Go to Deepest Linked Object, Select All Links
- Tree View Actions: Sync View, Sync Selection, Sync Placement, Preselection, Record Selection, Single Document, Multi Document, Collapse/Expand, Initiate Dragging, Go to Selection, Selection Back, Selection Forward
- Tools: Addon Manager, Measure, Clarify Selection, Quick Measure, Units Converter, Load Image, Save Image, Text Document, View Turntable, Scene Inspector, Dependency Graph, Export Dependency Graph, Document Utility, Edit Parameters, Customize
- Help: What's This, Start Page, Users Documentation, FreeCAD Forum, Report an Issue, Restart in Safe Mode, Developers Handbook, Python Modules Documentation, FreeCAD Website, Donate to FreeCAD, About FreeCAD
- Additional:
- Miscellaneous: New Part, New Group, Variable Set, Link Group, Select All Instances, Toggle Freeze
- Datums: Coordinate System, Datum Plane, Datum Line, Datum Point
- Link Actions: Make Link, Make Sub-Link, Replace With Link, Unlink, Import Link, Import All Links
- Expression Actions: Copy Selected, Copy Active Document, Copy All Documents, Paste
- Selection Filter: Vertex Selection, Edge Selection, Face Selection, No Selection Filters
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework