Difference between revisions of "Spatial Manager™ for BricsCAD - FAQs: Data Structure Management ("Standard" and "Professional" editions only)"

From Spatial Manager Wiki
Jump to navigation Jump to search
m
m
Line 28: Line 28:
 
**Name. The field name, unique in the selected date table
 
**Name. The field name, unique in the selected date table
 
**Type. You can select the field type in the drop-down list: Text, Integer, Date, etc. The field type cannot be changed if you want to modify the field later
 
**Type. You can select the field type in the drop-down list: Text, Integer, Date, etc. The field type cannot be changed if you want to modify the field later
**Default value. The default value for this field when the corresponding data table is attached to one or more objects
+
**Default value. The default value for this field when the corresponding data table is attached to one or more entities
 
*Modify Field. To edit the selected field of the selected data table (view "Add Field" above)
 
*Modify Field. To edit the selected field of the selected data table (view "Add Field" above)
 
*Delete Field. To delete the selected field of the selected data table
 
*Delete Field. To delete the selected field of the selected data table
Line 38: Line 38:
  
  
The following is the behavior of the application when you modify a data table which already is attached to one or more objects in the drawing
+
The following is the behavior of the application when you modify a data table which already is attached to one or more entities in the drawing
*Adding a field: the new field is added to all the attached objects. If a "Default value" has been defined for the field, this will be the value assigned to the field for these objects
+
*Adding a field: the new field is added to all the attached entities. If a "Default value" has been defined for the field, this will be the value assigned to the field for these entities
*Modifying a field: only the name of the field (if modified) will be changed for all the attached objects
+
*Modifying a field: only the name of the field (if modified) will be changed for all the attached entities
*Deleting a field: the field will be erased for all the attached objects
+
*Deleting a field: the field will be erased for all the attached entities
  
  

Revision as of 14:06, 13 November 2015

Introduction

  • Objective of this section
    • To learn how to define data tables and how to attach the data to the entities in an BricsCAD drawing
  • Topics in this section
    • Data tables: create, edit or delete
    • Fields in data tables: create, edit or delete. Field types
    • Attach data to entities
    • Detach data from entities
    • Select in the drawing entities which are attached to a specific table


How can I define data tables in a drawing?

The command 'SPMDATATABLEDEFINE' of Spatial Manager™ for BricsCAD lets you create new data tables in a drawing as well as modify them. Use also this command if you need to delete unnecessary data tables. You will find this command in the "Spatial Manager" ribbon, toolbar or drop-down menu


'SPMDATATABLEDEFINE' command in the Spatial Manager™ for BricsCAD interface


Table definition window

Table definition window


Click on the "New Table" button to create a new (empty) data table. Select a data table in the drop-down list to delete it ("Delete Table" button) or to modify it:

  • Add Field. To add a new field in the selected data table
    • Name. The field name, unique in the selected date table
    • Type. You can select the field type in the drop-down list: Text, Integer, Date, etc. The field type cannot be changed if you want to modify the field later
    • Default value. The default value for this field when the corresponding data table is attached to one or more entities
  • Modify Field. To edit the selected field of the selected data table (view "Add Field" above)
  • Delete Field. To delete the selected field of the selected data table


Add / Modify field window

Add / Modify field window


The following is the behavior of the application when you modify a data table which already is attached to one or more entities in the drawing

  • Adding a field: the new field is added to all the attached entities. If a "Default value" has been defined for the field, this will be the value assigned to the field for these entities
  • Modifying a field: only the name of the field (if modified) will be changed for all the attached entities
  • Deleting a field: the field will be erased for all the attached entities


Related links