Add, edit, and manage data fields
Before you assign data to objects in a drawing, you can display the fields you want, customize any existing fields and add new fields if needed. By default, in Corel DESIGNER there are multiple data fields including: Name, Cost, and Comments. You can edit or delete these fields as required.
Corel DESIGNER also provides common ActiveCGM, WebCGM, and WebCGM S1000D fields as well as InteractiveSVG fields for interactive effects. For more information, see Apply CGM data to objects and Apply InteractiveSVG data to objects. When you import or export CGM and SVG files, the object data is maintained. For more information on importing and exporting CGM files, see Computer Graphics Metafile (CGM) and Scalable Vector Graphics (SVG).
You can create as many data fields as you want, as long as they use the permitted format variables. For more information about assigning data fields, see Add, edit, and manage object data. In addition, you can add a child field to an existing field to create a hierarchical structure provided the selected field supports child fields.
At any time, you can change the settings, such as the name and format, of a data field. To change the format of a field, choose from four basic formats: General, Date/time, Linear/angular, and Numeric. Each of them has a number of common settings. If none of the preset formats provides the information you need, create your own formats by using the variables available for a given format type. The field format you select is used for all objects in the active drawing.
When you delete a field, you also delete all data entered for that field in the active document and any children that are associated with the field.
To add a data field
1
In the
Object Data docker (
Window Object Data), click the
Open field editor button
.
2
In the
Object data field editor dialog box, click
New Field.
3
Click the
Element name cell in the new field. Choose an element type from the list box, and press
Enter.
4
Click twice the
Name cell in the new field. Type a name for the field, and press
Enter.
If you want to change the field’s value, double-click the
Default value cell, type a new value, and press
Enter.
If you want to change the field’s constraint, double-click the
Constraint cell, type a constraint, and press
Enter.
5
Click twice the
Type cell in the new field, and choose one of the following format types from the list box:
6
Click twice the
Target cell in the new field, and choose one of the following targets from the list box:
7
In the
Add field to area, enable one or both of the following check boxes:
•
Application defaults — stores the new field in the application
•
Document defaults — stores the new field in the current document
You can also use this procedure to change the settings of an existing data field.
|
|
Add a child data field to an existing field
|
Select the data field to which you want to add a child, and click New child field.
The field you choose as a parent field must support child fields.
|
Change the format of a data field
|
Select the data field, and click Change in the Format area. In the Format definition dialog box, enable the option beside the format type you want to use, and choose a format from the Format type list.
|
Create a custom format for a data field
|
Select the data field, and click Change in the Format area. In the Format definition dialog box, enable the option beside the format type you want to create. Type the format in the Create box, and press Enter.
|
|
Choose the name of the data field from the list. To choose multiple fields, hold down Ctrl, and click the names in the list. Click Delete field(s).
|