Tuesday, 19 December 2017
  3 Replies
  2.2K Visits
0
Votes
Undo
  Subscribe
Hi Community,

I help manage a few different preference sets. I've changed all of the LandFX layer names and colors to a single preference set. It took a while. Is there a way to maybe export my preference set and cut-n-paste just this section into a few (not all) of the other preference sets which need this modification? I'm thinking export (backup) the preference set then open it up in notepad, find the section, copy it, and paste it into the other preference sets. Of course, I'd make backups of anything before I modify it. But does it sound like it will work?

-s
Accepted Answer
0
Votes
Undo
You certainly can edit the exported LFX file, although this is a very delicate operation that can render the entire file unusable.
Note that you can create all of the layers specified in a Preference Set by copying and pasting the following to the command line:

(foreach i _FXLAYERTAGS (fx:GOLAYER (fx:GETLAYER (car i))))

--J
Accepted Answer
0
Votes
Undo
You certainly can edit the exported LFX file, although this is a very delicate operation that can render the entire file unusable.
Note that you can create all of the layers specified in a Preference Set by copying and pasting the following to the command line:

(foreach i _FXLAYERTAGS (fx:GOLAYER (fx:GETLAYER (car i))))

--J
Cut-n-paste worked great. I used the notepad to search the first instance of >LAYER< and started highlighting to the beginning of the next section >. the >MATDIV<, then copied. I pasted this overwriting the same section of the other preference set. SUCCESS! Easy Peazy!
The one note on manually editing an LFX file, is that after editing you can rename it to an XML file, then right click to open it in Internet Explorer. If it opens without error, success! But if it says a parsing error, then you made a boo-boo. As opposed to just trying to import the LFX file (which will just say error accessing file), the parsing error typically will show you roughly where your boo-boo is.

--J
  • Page :
  • 1
There are no replies made for this post yet.