Difference between revisions of "Property"

From FreeCAD Documentation
Jump to: navigation, search
({{Userdocnavi}} template; to create links and categorize the page)
(The properties are fixed in English. They don't need translation.)
Line 10: Line 10:
 
Custom [[scripted objects]] in FreeCAD can have properties of the following types:
 
Custom [[scripted objects]] in FreeCAD can have properties of the following types:
  
<!--T:6-->
+
</translate>
 
{{Code|code=
 
{{Code|code=
Boolean
+
Boolean
Float
+
Float
FloatList
+
FloatList
FloatConstraint
+
FloatConstraint
Angle
+
Angle
Distance
+
Distance
Integer
+
Integer
IntegerConstraint
+
IntegerConstraint
Percent
+
Percent
Enumeration
+
Enumeration
IntegerList
+
IntegerList
String
+
String
StringList
+
StringList
Link
+
Link
LinkList
+
LinkList
Matrix
+
Matrix
Vector
+
Vector
VectorList
+
VectorList
Placement
+
Placement
PlacementLink
+
PlacementLink
Color
+
Color
ColorList
+
ColorList
Material
+
Material
Path
+
Path
File
+
File
FileIncluded
+
FileIncluded
PartShape
+
PartShape
FilletContour
+
FilletContour
Circle
+
Circle
 
}}
 
}}
 
+
<translate>
 
<!--T:2-->
 
<!--T:2-->
 
{{docnav|Interface Customization|Workbenches}}
 
{{docnav|Interface Customization|Workbenches}}

Revision as of 22:44, 22 September 2019

Other languages:
čeština • ‎Deutsch • ‎English • ‎español • ‎français • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎română • ‎русский • ‎svenska • ‎Türkçe • ‎中文 • ‎中文(中国大陆)‎

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 a document. Properties can be viewed and modified with the Property editor.

Properties play a very important part in FreeCAD, since it has been designed to work with parametric objects, which are objects defined only by their properties.

Custom scripted objects in FreeCAD can have properties of the following types:

Boolean
Float
FloatList
FloatConstraint
Angle
Distance
Integer
IntegerConstraint
Percent
Enumeration
IntegerList
String
StringList
Link
LinkList
Matrix
Vector
VectorList
Placement
PlacementLink
Color
ColorList
Material
Path
File
FileIncluded
PartShape
FilletContour
Circle