In all text editors the user have the option of inserting automation codes.
This will generate context and formatting based on the input, entries linked to the chapter and/or entries related to the linked entries.
The following options are currently available
Page Break
User can inser the short-code “[[page-break]]” anywhere in a text to force a page break in the exported PDF
Project and document properties
Used for adding the value of a single bim_property for current the Project, Document or Chapter.
The formats are:
- Inserting a Project property: {{project:property_name}}
- Inserting a Document property: {{document:property_name}}
- Inserting a Chapter property: {{chapter:property_name}}
Lists
Input
-
Example 1: {{make list (column_name) (‘-‘) (2nd_column)}}
-
Example 2: {{make list (column_name) (“:”) (2nd_column) (‘;’) (3rd_column)}}
Output example
-
AD01 – Vægtype 1
-
AD02 – vægtype 2
-
etc…
The rules
-
‘make’ and ‘list’ both in lower case.
-
between each parenthesis group separated by exactly 1 white space.
-
the column_name is written without the quote.
-
Any text inside single quote or double quote will be displayed as is.
-
there are no space after closing parenthesis
Paragraph lists
Input
-
{{make paragraph_list (‘Some intro text. Identification: ‘)(column_name)(‘Short description: ‘) (2nd_column_name)}}
Output example
The rules
-
‘make’ and ‘paragraph_list’ both in lower case.
-
Spaces between parenthesis groups doesn’t matter.
-
the column_name is written without the quote.
-
Any text inside single quote or double quote will be displayed as is.
-
there are no space after closing parenthesis
-
Line shifts between parenthesis will be included.
-
There is no extra lineshift before or after a paragraph
Chapter lists
-
{{make chapter_list (‘excluded chapter name 1’) (‘excluded chapter name 2’) (option:no-prefix)}}
Output example
- Chapter name 1
- Chapter name 2
- Chapter name 3
The rules
-
‘make’ and ‘chapter_list’ both in lower case.
- Chapters will be prefixed with their chapter number, unless “(option:no-prefix)” is added (in which case the numbers will be removed.
-
Spaces between parenthesis groups doesn’t matter.
-
Any chapter listed inside single quote or double quote will excluded from the lists.
-
there are no space after closing parenthesis
Using related entries
The user has the option of using data from related entries rather than the actual linked entries for generating the lists, paragraph liste and table.
This is acheived by adding the text “(option:relation-name:[Relation name])” – where [Relation name] is the name of the relation the user wants to use – just after type statement.
Example:
- {{make table (option:relation-name:[Relation name 1]) ([parameters_name_1]) (‘Added text’) ([parameters_name_2)}}
Using more relations at once
If the user wants to use several relations, these can be listed in order, divided by a seperator (“|”).
Example:
- {{make table (option:relation-name:[Relation name 1]|[Relation name 2]) ([parameters_name_1]) (‘Added text’) ([parameters_name_2)}}
Example using New Journal
List
{{make list (short_description) ('-') (standard_property2)}}
Paragraph list
{{make paragraph_list ('Some intro text. Identification: ') (short_description)( ‘
Chapter lists
Exaple for the Danish BIPS 1.000 specification standard, where a list of all included element specifications are listed, excluding the 3 first general chapters.
{{make_chapter_list ("Omfang") ("Orientering") ("Generelle specifikationer") (option:no-prefix)}}