Copy link to clipboard
Copied
All,
I have a need with framemaker I do not know how to handle. Here is an example of my need:
Let's say I need to produce a document related to a house, which can be 1 2 or 3 floors.
I will then produce a variables :"nb of floor" which will be "1" "2" or "3", and use this variable in text content. That is ok, BUT
How can I automate an additional variable named "House_type" which would be "OnefloorHouse" "TwofloorsHouse" or "ThreefloorsHouse"?
Thanks for your help.
Regards, Stephane.
Copy link to clipboard
Copied
How are you applying the Variables in FM? Are you importing into specific files that just pertain to the house types and number of floors?
The easiest way to get specific sets of variables into FM files is to use small text files called MIF snippets. See the following discussions for how these have been used:
Copy link to clipboard
Copied
My plan is just to create variables (e.g "nb of floor" or "House_type") in the document itself.
I would set the "nb of floor" value manually. The point would be to automate the setting of "House_type" value, as additonal variable.
Regards, Stephane
Copy link to clipboard
Copied
There is no direct way to make one variable dependent upon another in FM.
You could use ExtendScript to create a script that would add the other dependent variables.
The other approach would be to have all of the required dependent variables defined in either a MIF snippet or a template file and then import the desired numbering level into your file.