Document toolboxDocument toolbox

(no) Convert Attachment to Drawings

Translation needed

The content of this page was copied from another page tree and needs to be translated or updated.

When you finish translation, make sure to

  • Replace the label NEEDS-TRANSLATING with TRANSLATED

  • Remove this macro from the page

 

Objects attachments can now be converted to composite drawings. 

Each object with attachment can be selected and function Convert to drawing can be used that will  change attachment to composite drawing. Originally attached file will be used as raster background (if format of this file is an accepted one). Object's metadata will not be changed.

 

To perform group converting, please add objects to Object Set first and then, click on Transform to drawings button.

 

When performing group transformation, open Server Tasks window to see new type of process: Group Raster Transformation.
Also converted files will be send to Batch Image Processing process so they can be used as background raster files.

 

Click on Get Result button to see transformation report:

Attachments of type that cannot be converted to rasters like .docx etc. will be present on transformation report but their content will not be changed.

 

Setting scale of newly converted drawings

When converting attachment to drawing, scale set for new drawing can be set automatically using chosen value from document's metadata. 

 

To achieve such result configuration in Administration panel have to be done.New section and parameters were added to System Settings\General Settings.

Default Scale Metadata - default scale set for drawing after conversion if there is no metadata value to use.
Scale Metadata Class - class used for picking field for setting scale metadata.
Scale Metadata Class Field - class field used for setting scale metadata value for converted attachment.

  • scale can be taken from both Text and Dictionary fields,

  • for dictionaries fields - dictionary item value is taken,

  • regardless of field type, field entry must start with "1:" - value after this will be taken and set as scale for new drawing,

  • if value of chosen field does not start with "1:" then Default Scale will be set.