View Issue Details

IDProjectCategoryView StatusLast Update
0003911TechDrawFeaturepublic2020-01-05 21:11
Reportervocx Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version0.18 
Summary0003911: Autofill information in SVG page template
DescriptionIn Catia the Drawing workbench auto-fills certain text fields in the Page Templates that come with the software. TechDraw could implement a similar behavior.

The usage would be something like a button in the TechDraw toolbar to open a dialog with the fields that can be filled in the page template. It could also have a button in this dialog to automatically fill at least some values like Author, Date, Title, and Page. Another option would be to right click the field in the page itself (highlighted in green) to display the options (Author, Title, Page, etc.) which will to fill the field.

In order to implement this well, each SVG template provided by FreeCAD should conform to some standardized name for the editable fields, for example, FC_AUTHOR, FC_DATE, FC_TITLE, etc. The data to write in the fields can be taken from the General Preferences of the Document, or taken from a Spreadsheet, or calculated by Qt in some way.

The discussion is on the forum https://forum.freecadweb.org/viewtopic.php?f=35&t=31681
Additional InformationOS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
TagsSVG, TechDraw
FreeCAD Information

Activities

wandererfan

2020-01-05 12:46

manager   ~0013982

additional forum discussion

svbol

2020-01-05 20:53

reporter   ~0013983

Last edited: 2020-01-05 21:09

View 2 revisions

I think - this small but very need function.
I add screenshots about this feature.

May be - this order:
1. Create list of standard field's names,
2. Add option in TechDraw setting - "Insert information for page",
3. Change all template (rename all fields),

TD_AutoDate1.png (97,841 bytes)   
TD_AutoDate1.png (97,841 bytes)   
TD_AutoDate2.png (98,816 bytes)   
TD_AutoDate2.png (98,816 bytes)   

svbol

2020-01-05 21:11

reporter  

TD_AutoDate3.png (61,259 bytes)   
TD_AutoDate3.png (61,259 bytes)   

Issue History

Date Modified Username Field Change
2019-03-20 02:05 vocx New Issue
2020-01-05 12:46 wandererfan Note Added: 0013982
2020-01-05 20:53 svbol File Added: TD_AutoDate1.png
2020-01-05 20:53 svbol File Added: TD_AutoDate2.png
2020-01-05 20:53 svbol Note Added: 0013983
2020-01-05 20:54 svbol Tag Attached: TechDraw
2020-01-05 20:55 svbol Tag Attached: SVG
2020-01-05 21:09 svbol Note Edited: 0013983 View Revisions
2020-01-05 21:11 svbol File Added: TD_AutoDate3.png