AutoChart 2010 Help File

FR537 - Import Block Data

FR537 - Import Block Data

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

FR537 - 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!  

When Import Block Data is used with a Custom Event Format file, Event Fields can now be used within the Block ini file to provide the value for any attributes defined within the block symbol. Multiple Text strings can be defined to match the number of attributes available within the Block.

To include Event Fields as attributes, the Block ini file should be edited within a Text Editor to include the required string(s) at the End of each line:

E.g.

LINETYPES

# Name,File

LAYERS

# LayerName,Linetype,Colour

Plan-FlangeValve,CONTINUOUS,WHITE

Plan-Support,CONTINUOUS,WHITE

Plan-Debris,CONTINUOUS,WHITE

OBJECTDATA-TYPE

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

GBS,,C:\Symbols\PipelineSupport.dwg,Plan-Support,BYLAYER,2500,.Primary

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

DBR,,C:\Symbols\Debris.dwg,Plan-Debris,BYLAYER,2500,.Primary,.Length + "x" + .Width + "x" + .Height

 

Field names should be preceded with a period (.) and any free text enclosed by quotes. A string can be constructed from multiple fields/text by joining with a "+" as shown in the example above.