Hi Remi,
Depends how you are using it.
I have included a snippet from a previous email on this. Let me know if you
need more clarification.
cheers
Mike
 
There was a bug fixed for 6.21 where get layer formula did not work at all.
Now it works, with the following limitation -
 
The formula is not returned as a text string.
Basically this is due internal structure of a formula.
It is not reversable ie
to set a formula you do
 
$formula = "i1 * 10"
 
and then
 
set layer formula to $formula         ### or something  like this
 
which sort of implies that you can do a
 
$text = get layer formula
println $text ### expect "i1 * 10" or something
 
but there are a few hidden steps inside set layer formula which
parses the string into an expression which is then able to be integrated
into the data structure. Unfortunately there is no simple way to reverse
this process. The only possible workaround is to save the formula to
out to disk and look at the text in the file. This is pretty clumsy (but doable)...
 

---Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of rcorfini
Sent: Monday, 14 January 2002 9:32 PM
To: [EMAIL PROTECTED]
Subject: Batch scripting

Dear list,
 
I'm using the batch script utilities of Er Mapper 6.21. Until present, I failed to perform the key command "get layer formula" whatever the syntax : using variables or not
Do anyone knows the reason ?
 
Best regards
 
 
R�mi CORFINI
DIGITECH Intl S.A. - Agence IDF
64 rue des Meuniers - F- 92220 BAGNEUX - FRANCE
T�l. : + 33 (0)1 45 36 14 53 - Fax. : + 33 (0)1 46 65 09 04
Mail. :[EMAIL PROTECTED] < http://www.digit-int.com

Reply via email to