cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Setting FM Values

This is probably quite simple, but this late in the day it's killing me. I want to set one of the FM parameters using the following line:

FM_InventoryNumber = sPrefix + sGauge + sSuffix

Assume all of the variables are set to string values. Where should I put this line? I put it in the Master Script, but it doesn't fill the parameter. I tried the Parameter Script, but that didn't work either. Where should it go?
3 Replies 3
Karl Ottenstein
Moderator Emeritus
Put the keyword PARAMETERS in front of the line in the Parameter Script. See the GDL Reference Manual (8.0/8.1) page 108 - section 10.2 ... or the old 6.5 manual page 163 section 9.2.

HTH,
Karl
Vote for Wish: Copy/Paste in 3D

AC 29 USA and earlier   •   hardware key   •   macOS Taho 26.1 MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Rob
Graphisoft
Graphisoft
Jay,

just put this line into the parameter script:

PARAMETERS FM_InventoryNumber = sPrefix + sGauge + sSuffix

that will do

(assumingly sPrefix, sGauge, sSuffix are string variables)
::rk
Anonymous
Not applicable
I knew I was missing something stupid!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!