Jump to content

Other Function instead of: measure("")


---
 Share

Recommended Posts

I have a Loop where I’m suing the command measure(“”) to recalculate the feature values .. works OK..
However when I recalculate multiple ZMP files with the tool: “Subsequent evaluation of several measurements” the command: measure(“”) doesn’t work..

Is there other command that I can use to replace: measure(“”) ??


ValLoopZ =0 // this variable applies changes in the features
measure("PlaneatT")
measure("IntA1x")
measure("IntA2x")
measure("IntA3x")
measure("IntA4x")
measure("CTracks") 
ValLForm=getActual("CTracks").form



ValLstp=0.2

repeat

ValLoopZ = ValLoopZ+ValLstp
measure("PlaneatT")
measure("IntA1x")
measure("IntA2x")
measure("IntA3x")
measure("IntA4x")
measure("CTracks") 


if  ValLForm > getActual("CTracks").form then
ValLForm=getActual("CTracks").form


else
ValLoopZ =ValLoopZ -ValLstp  // prev. value
ValLstp=-ValLstp/2
endif


until abs(ValLstp) <= 0.0001


// in case the previous value was correct:
measure("PlaneatT")
measure("IntA1x")
measure("IntA2x")
measure("IntA3x")
measure("IntA4x")
measure("CTracks")  
Link to comment
Share on other sites

 Share

×
×
  • Create New...