AutoChart 2010 Help File

FR647 - Add Paired Events

FR647 - Add Paired Events

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

FR647 - Add Paired Events

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!  

It is now possible to filter which events are used when adding Paired Events to a profile based on the value of a specified field. For instance, a filter can be added that means that only freespans greater than a specified length are added.

The required filter settings should be added to the Paired Events ini file as per the following example:

TEXTSTYLES

#Name,Font,Height,Width

Arial,Arial.ttf,0,1

 

LINETYPES

#Name,File

Dashed,ACAD

 

LAYERS

#LayerName,Linetype,Colour

ContinuousFreespanStalks,Continuous,7

ClearFreespanStalks,Continuous,5

BurialStalks,Continuous,1

 

CODES

#ProfileLayerName,PrimaryCodeStart,SecondaryCodeStart,PrimaryCodeEnd,SecondaryCodeEnd,Layer,Color,Linetype,StalkPlacement(Above/Below),StalkHeight,StalkLength,StalkInfillLinetype,TextStyle,TextHeight,TextValue,FilterEventDataField,FilterEventOperator,FilterEventValue

Profile - Top of Pipe,Freespan Continuous_ Start of,,Freespan Continuous_ End of,,ContinuousFreespanStalks,256,ByLayer,Above,30,2,,Arial,5,.Height(1.1),Length,>=,10

Profile - Top of Pipe,Freespan Clear_ Start of,,Freespan Clear_ End of,,ClearFreespanStalks,256,ByLayer,Above,30,2,,Arial,5,.Height(1.1),Length,>=,10

Profile - Bottom of Pipe,Burial_ Pipeline Buried_ Start of,,Burial_ Pipeline Buried_ End of,,BurialStalks,256,ByLayer,Below,30,2,Dashed,Arial,5,.Length(0.1)

 

i.e. at the end of each code definition, specify the FilterEventDataField (e.g. Length), the FilterEventOperator (e.g. >=) and the FilterEventValue (e.g. 10).

If no filter is specified then all events will be used.