@vectorlookup
Dear all,
I am doing some templates for checking as detail below but it is not working
Could somebody show me why or please test it on newest updates of HW ( i run it on HW 12 hot fix 115)
*nodes()
*before()
*vectortablereset(0,1.0) #Tolerance is 1.0
*vectortablestore(1,1,0,0,1)
*vectortablestore(2,2,0,0,2)
*vectortablestore(3,3,0,0,3)
*after()
*uservariableset('#Found',[@vectorlookupnotkey(0,0,0,0)])
*field(integer,#Found,0)
*output()
it should return 1 because distance between (0,0,0) and (1,0,0) is within tolerence
but it return 0 always even if i increased tolerance
Answers
-
Altair Forum User said:
Dear all,
I am doing some templates for checking as detail below but it is not working
Could somebody show me why or please test it on newest updates of HW ( i run it on HW 12 hot fix 115)
*nodes()
*before()
*vectortablereset(0,1.0) #Tolerance is 1.0
*vectortablestore(1,1,0,0,1)
*vectortablestore(2,2,0,0,2)
*vectortablestore(3,3,0,0,3)
*after()
*uservariableset('#Found',[@vectorlookupnotkey(0,0,0,0)])
*field(integer,#Found,0)
*output()
it should return 1 because distance between (0,0,0) and (1,0,0) is within tolerence
but it return 0 always even if i increased tolerance
Finally found the reason after 2 years thinking: node tolerance is considered regardless the value set by *vectortablereset()
0