Skip to main content

I have a very large conditional I would like to export to text, so far I've tried copy/paste, and can't seem to find any other ways.

However it doesn't wok.

You could open up the .fmw in a text editor (notepad, or notepad++) and find the conditions there. Note it will likely have some funny formatting so you will need to fix that


You could open up the .fmw in a text editor (notepad, or notepad++) and find the conditions there. Note it will likely have some funny formatting so you will need to fix that

Thank you - was hoping for something slightly easier to work with. The conditional is rather hard too read and extremely long - below is approximately a third of it:

 

FACTORY_DEF {*} AttrSetFactory  COMMAND_PARM_EVALUATION SINGLE_PASS  FACTORY_NAME { AttributeManager_18 }  INPUT FEATURE_TYPE SpatialFilter_PASSED  INPUT FEATURE_TYPE SpatialFilter_FAILED  MULTI_FEATURE_MODE { NO }  NULL_ATTR_MODE { NO_OP }  ATTRSET_CREATE_DIRECTIVES _PROPAGATE_MISSING_FDIV  ACTION_COLUMN 3  DEF_VAL_COLUMN 2  MISSING_INPUT_ATTR_HANDLING RENAME_SET_VALUE REMOVE  ATTR_ACTION { "Kategori" "Kategori" "FME_CONDITIONAL:DEFAULT_VALUE'_FME_NO_OP_'BOOL_OP;OR;COMPOSITE_TEST;1 OR 2 OR 3;TEST <at>Value<openparen>Kategori<closeparen> = <openparen>UDFASES<closeparen><space>Anden<space>bygning<space>til<space>landbrug<comma><space>industri<space>etc.;TEST <at>Value<openparen>Kategori<closeparen> = Anden<space>bygning<space>til<space>landbrug<space>mv.;TEST <at>Value<openparen>Kategori<closeparen> = Anden<space>bygning<space>til<space>produktion'Anden<space>bygning<space>til<space>landbrug<comma><space>industri<space>eller<space>lignende'BOOL_OP;OR;COMPOSITE_TEST;1 OR 2;TEST <at>Value<openparen>Kategori<closeparen> = <openparen>UDFASES<closeparen><space>Anden<space>bygning<space>til<space>transport<comma><space>handel<space>etc;TEST 

 


Thank you - was hoping for something slightly easier to work with. The conditional is rather hard too read and extremely long - below is approximately a third of it:

 

FACTORY_DEF {*} AttrSetFactory  COMMAND_PARM_EVALUATION SINGLE_PASS  FACTORY_NAME { AttributeManager_18 }  INPUT FEATURE_TYPE SpatialFilter_PASSED  INPUT FEATURE_TYPE SpatialFilter_FAILED  MULTI_FEATURE_MODE { NO }  NULL_ATTR_MODE { NO_OP }  ATTRSET_CREATE_DIRECTIVES _PROPAGATE_MISSING_FDIV  ACTION_COLUMN 3  DEF_VAL_COLUMN 2  MISSING_INPUT_ATTR_HANDLING RENAME_SET_VALUE REMOVE  ATTR_ACTION { "Kategori" "Kategori" "FME_CONDITIONAL:DEFAULT_VALUE'_FME_NO_OP_'BOOL_OP;OR;COMPOSITE_TEST;1 OR 2 OR 3;TEST <at>Value<openparen>Kategori<closeparen> = <openparen>UDFASES<closeparen><space>Anden<space>bygning<space>til<space>landbrug<comma><space>industri<space>etc.;TEST <at>Value<openparen>Kategori<closeparen> = Anden<space>bygning<space>til<space>landbrug<space>mv.;TEST <at>Value<openparen>Kategori<closeparen> = Anden<space>bygning<space>til<space>produktion'Anden<space>bygning<space>til<space>landbrug<comma><space>industri<space>eller<space>lignende'BOOL_OP;OR;COMPOSITE_TEST;1 OR 2;TEST <at>Value<openparen>Kategori<closeparen> = <openparen>UDFASES<closeparen><space>Anden<space>bygning<space>til<space>transport<comma><space>handel<space>etc;TEST 

 

Alternatively, you could click Copy on the AttributeManager from the Navigator and Paste it into a text editor. The output format is very similar to what you find in the .fmw but it will at least save you some scrolling :) If this is a feature you'd like to see enhanced feel free to submit this as an Idea! 


Thank you - was hoping for something slightly easier to work with. The conditional is rather hard too read and extremely long - below is approximately a third of it:

 

FACTORY_DEF {*} AttrSetFactory  COMMAND_PARM_EVALUATION SINGLE_PASS  FACTORY_NAME { AttributeManager_18 }  INPUT FEATURE_TYPE SpatialFilter_PASSED  INPUT FEATURE_TYPE SpatialFilter_FAILED  MULTI_FEATURE_MODE { NO }  NULL_ATTR_MODE { NO_OP }  ATTRSET_CREATE_DIRECTIVES _PROPAGATE_MISSING_FDIV  ACTION_COLUMN 3  DEF_VAL_COLUMN 2  MISSING_INPUT_ATTR_HANDLING RENAME_SET_VALUE REMOVE  ATTR_ACTION { "Kategori" "Kategori" "FME_CONDITIONAL:DEFAULT_VALUE'_FME_NO_OP_'BOOL_OP;OR;COMPOSITE_TEST;1 OR 2 OR 3;TEST <at>Value<openparen>Kategori<closeparen> = <openparen>UDFASES<closeparen><space>Anden<space>bygning<space>til<space>landbrug<comma><space>industri<space>etc.;TEST <at>Value<openparen>Kategori<closeparen> = Anden<space>bygning<space>til<space>landbrug<space>mv.;TEST <at>Value<openparen>Kategori<closeparen> = Anden<space>bygning<space>til<space>produktion'Anden<space>bygning<space>til<space>landbrug<comma><space>industri<space>eller<space>lignende'BOOL_OP;OR;COMPOSITE_TEST;1 OR 2;TEST <at>Value<openparen>Kategori<closeparen> = <openparen>UDFASES<closeparen><space>Anden<space>bygning<space>til<space>transport<comma><space>handel<space>etc;TEST 

 

Nahh... I don't need it very often, I was just surprised how overly complicated it is. 


Reply