Intellitext

 

mineCAD has incorporated an intelligent text system that allows the insertion of variable text values into a project.  For example, the current Date, Time, Author (etc.) can be automatically inserted in a Titleblock using the Intellitext capabilities.  

An Intellitext Block is created by the placement of an Intellitext Tag onto text entities within a block.  An Intellitext Tag is placed on a text entity via the Label Property of the entity, and is of the form %Tag%.  The system reads these tags on insertion of the block into a project file and, where applicable, updates them with dynamic information.  Intellitext is similar to AutoCAD block attributes.

To include Intellitext entities in a project file, it is necessary to first create a block file containing the Intellitext entities, and then to insert this block into the project file using the Insert | Block function.  For a step-by-step explanation on creating and inserting an intellitext block, please refer to the Intellitext Tutorial.

Creating the Block File

A new file should first be opened in the mineCAD design window, and a text entity must be created using either of the Draw | Text commands. 

Note that when adding a Label Property to a text entity that will be inserted as a block, the actual text used to create the entity (i.e. the contents of the Text String Property field) is irrelevant - it will be replaced with whatever text is entered in the Label field upon insertion. 

Once the text entity has been created, the user must open the Modify Properties dialog for the entity - most easily done by double-clicking on the entity.  Locating the Label entry and typing a % character in the field will prompt the Intellitext window.  This window contains a listing of the valid Intellitext options, allowing the user to select a Tag option, rather than enter it manually, which ensures that the label is of a valid format.  Examples of the resultant formats are also provided to assist the user in selecting the correct Tag option.

Once the correct Label has been assigned to the text entity, the changes should be Applied, and the dialog Closed.  The file should then be saved with an appropriate filename - a name that is representative of the inserted block it will become is recommended.

Inserting the Intellitext Block

The project file into which the block file is to be inserted should now be opened in the mineCAD design window. 

Select the Insert | Block function and select the Create From File toggle in the dialog.  Use the browser button to locate the block file created above and select OK. 

The user will be requested to select an Insertion Point for the block - left-clicking in the design window at the desired location will insert the block.

 

Points to note when using Intellitext: 

     

 

Intellitext Tag Values

Intellitext Label Tag Returns
%Date0% Date with format: dd/mm/yyyy
%Date1% Date with format: dd/mm/yy
%Date2% Date with format: dd/m/yyyy
%Date3% Date with format: dd/m/yy
%Date4% Date with format: mm/dd/yyyy
%Date5% Date with format: mm/dd/yy
%Date6% Date with format: m/dd/yyyy
%Date7% Date with format: m/dd/yy
%Date8% Date with format: dd-mmm-yy
%Date9% Date with format: dd-mmmm-yy
%Date10% Date with format: yyyy-mm-dd
%Date11% Date with format: yy-mm-dd
%Date12% Date with format: yyyy-mm-dd
%Date13% Date with format: dddd, dd mmmm yyyy
%Date14% Date with format: dd mmmm yyyy
%Date15% Date with format: mmmm dd/yy
%Date16% Date with format: mmm dd/yy
%Date17% Date with format: mmmm dd/yyyy
%Date18% Date with format: mmm dd/yyyy
%Time% The current time in the format hh:mm
%MineCADUsername% The name of the currently logged on mineCAD/Mine2-4D user
%ComputerUsername% The name of the currently logged on windows user
%FilenameFull% Full path and file name of the current mineCAD document
%FilenamePath% Path (no file name) of the current mineCAD document
%FilenameShort% Filename (no path) of the current mineCAD document
%ObjectNameFull% Full name of the object that the insert resides within
%ObjectNameShort% Name (node text) of the object that the insert resides within
%LayoutName% Name of the layout that the layout resides in (returns ModelSpace if not in paperspace)
%ComputerName% Name of the current users computer

Related Topics

Intellitext Tutorial

Write Block File

Insert Block