User talk:Catman: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
>>> t.EditableTexts = et |
>>> t.EditableTexts = et |
||
</source> |
</source> |
||
== PartDesign Workbench == |
|||
Please, as already said in the forum discussion about TechDraw: |
|||
# search the Wiki if the info is not already there |
|||
# if you think it is missing, ask in the forum's Wiki section first: https://forum.freecadweb.org/viewforum.php?f=21 |
|||
# if there is already a page, but misses info, please update this page directly to reflect the current state (if necessary, add the version tag to make clear if it is a new feature of the unreleased FC 0.19) |
|||
# the Workbench pages are there for an overview, all detail info is within pages that are linked to the workbench page |
|||
thanks and regards |
|||
--[[User:Uwestoehr|uwestoehr]] ([[User talk:Uwestoehr|talk]]) 14:42, 2 August 2020 (UTC) |
Revision as of 14:42, 2 August 2020
I would propose to add a small chapter to address that although edit fields can not be automatically filled in (FC 0.19), this could be acieved with an own macro.
As a starting point to test this from the Python Console, this Macro shows the principle
>>> p = App.ActiveDocument.Page
>>> t = p.Template
>>> et = t.EditableTexts
>>> et["FC-Title"] = "The title of my page"
>>> t.EditableTexts = et
PartDesign Workbench
Please, as already said in the forum discussion about TechDraw:
- search the Wiki if the info is not already there
- if you think it is missing, ask in the forum's Wiki section first: https://forum.freecadweb.org/viewforum.php?f=21
- if there is already a page, but misses info, please update this page directly to reflect the current state (if necessary, add the version tag to make clear if it is a new feature of the unreleased FC 0.19)
- the Workbench pages are there for an overview, all detail info is within pages that are linked to the workbench page
thanks and regards --uwestoehr (talk) 14:42, 2 August 2020 (UTC)