AutoChart 2010 Help File

FR621 - Import Block Data

FR621 - Import Block Data

Previous topic Next topic No directory for this topic No expanding text in this topic  

FR621 - Import Block Data

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

The Import Block Data command now provides the facility to use wildcards within the Block ini file for the Primary and/or Secondary search codes.

For example, the Events Data may contain separate Primary codes denoting Anodes as AN0, AN1, AN2 etc. rather than specifying each individual code, a wildcard can be used so that all events matching AN* will be plotted:

LINETYPES

# Name,File

LAYERS

# LayerName,Linetype,Colour

Plan-FlangeValve,CONTINUOUS,WHITE

Plan-Anodes,CONTINUOUS,WHITE

OBJECTDATA-TYPE

# PrimaryCode,SecondaryCode,SymbolName,Layer,Colour,Scale,Attrib,Attrib,Attrib,...

AN*,,C:\Symbols\Anode.dwg,Plan-Anodes,BYLAYER,2500,.Primary

FLG,,C:\Symbols\FlangeValve.dwg,Plan-FlangeValve,BYLAYER,2500,.Primary

 

If the PrimaryCode or SecondaryCode are left blank, then this acts as a wildcard * and plots everything. therefore, every record in a Custom Events format file could be plotted to a single block symbol definition by leaving the Primary and Secondary Codes blank in the Block ini file:

,,C:\Symbols\Target.dwg,Plan-Target,BYLAYER,2500,.Primary