@ERROR while using variable value.

@ERROR while using variable value.

pet.kovacsYHFUD
Explorer Explorer
243 Views
2 Replies
Message 1 of 3

@ERROR while using variable value.

pet.kovacsYHFUD
Explorer
Explorer

Hello.

 

While I using a variable value for the thickness and Z limit value the result is @Anonymous.

How can i programming this?

Here is the program what i wrote.

 

string prompta = "Thickness?"
REAL a = INPUT "Thickness?"

EDIT PAR 'Thickness' "a"
EDIT PAR 'AxialThickness' "a"


string prompta1 = "Z value?"
REAL a1 = INPUT "Z valu?"
EDIT PAR 'ZRange.Minimum.Value' "$ZRange.Maximum.Value + a1"

 

 

0 Likes
244 Views
2 Replies
Replies (2)
Message 2 of 3

LasseFred
Collaborator
Collaborator

Try this:

 

string prompta = "Thickness?"
REAL a = INPUT "Thickness?"

EDIT PAR 'Thickness' $a
EDIT PAR 'AxialThickness' $a
______________________
Lasse F.
0 Likes
Message 3 of 3

LasseFred
Collaborator
Collaborator

sorry to fast: 

 

Try this:

	REAL A = INPUT "Thickness?"
	EDIT PAR 'Thickness' $A
	EDIT PAR 'AxialThickness' $A
	

	REAL A1 = INPUT "Z value?"
	EDIT PAR 'ZRange.Minimum.Value' $A1
______________________
Lasse F.