Property View/ru

Введение

Редактор свойств виден в нижней секции панели Model (если активен Combo view) или отдельной панелью, называемой Property view.

Окно Свойств предназначено для работы со свойствами одного объекта за раз. Значения, отображаемые в представлении свойств, относятся к выбранному объекту. Тем не менее, некоторые свойства, такие как цвет, могут быть заданы для нескольких выбранных объектов. Если ни один элемент не выбран, Окно Свойств будем пустым.

Не все свойства можно изменить, некоторые доступны только для чтения.

The Data properties of a Part Box

Типы свойств

Свойство — это фрагмент информации, например число или текстовая строка, прикрепленный к документу FreeCAD или объекту в документе. Доступно множество типов свойств. Некоторые из наиболее распространенных типов:

App::PropertyAngle
App::PropertyBool
App::PropertyDistance
App::PropertyFloat
App::PropertyInteger
App::PropertyLength
App::PropertyPlacement
App::PropertyString
App::PropertyVector

View and Data properties

The Property View has two tabs giving access to two classes of properties:

Основные свойства

Разные объекты могут обладать разными свойствами. Однако многие объекты имеют одинаковые свойства, поскольку они являются производными от одного и того же внутреннего класса.

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.

Контекстное меню

Чтобы отобразить контекстное меню Окна свойств, щелкните правой кнопкой мыши по фону или по выбранному свойству.

При щелчке правой кнопкой мыши по фону отображаются три варианта:

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.

При щелчке правой кнопкой мыши по свойству становятся доступны следующие дополнительные параметры:

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.

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

See FeaturePython Custom Properties.

Настройки

See Combo view.