Date: Thu, 28 Mar 2024 11:57:21 +0100 (CET) Message-ID: <1564660878.212.1711623441015@nm-docs> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_211_2014950328.1711623441014" ------=_Part_211_2014950328.1711623441014 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To use the Import tool syntax
$import
This part names the alias assigned to Import tool when declaring it to t= he template.
$import.include(FileName)
FileName in $= import.include(FileName) specifies the location of a file in the file s= ystem. FileName can be either an absolute or relative path= to a file in the file system. The FileName parameter can = be set either statically or dynamically. If the file is not found in the fi= le system, FileName would be searched as an Attached File = element in a MagicDraw project in the File property.
$import.includeSection(FileName, SectionName)
FileName in $impor= t.includeSection(FileName, SectionName) functions the same as in the su= b-section above. FileName can be either an absolute or rel= ative path to a file in the file system. SectionName denot= es a paragraph in the document named FileName, which is de= limited by the #sectionBegin(SectionName) and #sec= tionEnd identifiers. The SectionName variable can= also be set either statically or dynamically. If the file is not found in = the file system, FileName would be searched as an Attached= File element in a MagicDraw project in the File property.=
Information
You can also use $attachedFile in the parameter of= $import.include(FileName) and $import.includeSect= ion(FileName, SectionName).