Translations:Object name/5/en

From FreeCAD Documentation

There are various properties for Names:

  • The Name can only include simple alphanumeric characters, and the underscore, [_0-9a-zA-Z].
  • The Name cannot start with a number; it must start with a letter or the underscore, [_a-zA-Z].
  • The Name is assigned at the creation time of the object; afterwards it is no longer editable. The object can never be renamed.
  • The Name must be unique in the entire document. It doesn't matter if two objects are of completely different types, for example, one is a PartDesign Pocket and the other is an Arch Wall. They must have different names.
  • When creating an object of the same type, normally the name is increased with a sequential number, thus Box, Box001, Box002, etc. This prevents naming collision.
  • Once the object is deleted, its Name becomes available to be used by a newly created object. This means that if Box, Box001, and Box002 exist, and we delete the first item, the next box created with Part Box will not be Box003, it will be Box again, because this string is available to be used once more. Notice that it is not possible to rename Box001 or Box002 to Box since their names are fixed.