Accessors and Constructors
Accessors and Constructors
Syntax
(afm_xd_version_number xdata_list)
(afm_xd_set_version_number xdata_list new_value)
(afm_xd_table_name xdata_list)
(afm_xd_set_table_name xdata_list new_value)
(afm_xd_primary_key_list xdata_list)
(afm_xd_set_primary_key_list xdata_list new_primary_key_list)
(afm_xd_original_dwgname xdata_list)
(afm_xd_set_original_dwgname xdata_list new_value)
(afm_xd_original_ehandle xdata_list)
(afm_xd_set_original_ehandle xdata_list new_value)
(afm_xd_original_std_key xdata_list)
(afm_xd_set_original_std_key xdata_list new_value)
(afm_xd_atext_offset xdata_list)
(afm_xd_set_atext_offset xdata_list new_value)
(afm_xd_atext_height xdata_list)
(afm_xd_set_atext_height xdata_list new_value)
(afm_xd_atext_rotation xdata_list)
(afm_xd_set_atext_rotation xdata_list new_value)
(afm_xd_atext_just_code xdata_list)
(afm_xd_set_atext_just_code xdata_list new_value)
(afm_xd_atext_ehandle_list xdata_list)
(afm_xd_set_atext_ehandle_list xdata_list new_value)
Comments
These are accessors and constructors for the structured xdata list, which is a list containing the following properties.
version_number 0 integer
table_name 1 string
(primary_key_list) 2 list of strings
original_dwgname 3 string
original_ehandle 4 string
original_std_key 5 string
atext_offset 6 point
atext_height 7 real
atext_rotation 8 real
atext_just_code 9 int (a character code)
(atext_ehandle_list) 10 list of ehandle strings
- The version number designates the revision of the xdata format.
- New formats for the xdata have newer revision numbers.
- The table name and the primary key values associate the asset symbol with a database record.
- The program uses the original drawing name and ehandle in the xdata to distinguish between original asset symbols and copies of asset symbols.
- The original standard key is the standard code that the asset symbol had when it was created with the Asset Insert command. The asset symbol stores this value in the xdata, since when the asset symbol is created by Asset Insert, it typically does not have an associated record in which to store the standard code value.
- The asset text characteristics determine the format of the asset text the next time the asset text is generated.
- The asset text ehandle list is the list of asset text items that were part of the asset symbol the last time the asset text entities were generated.