Solved

How to make a calculation in component editor ?

  • 23 June 2021
  • 3 replies
  • 89 views

In component editor I can make a Pick up from other cell.


How to make a calculation ?


Dont only to choose but calculate the value from some cells data.

icon

Best answer by David.Nguyen 23 June 2021, 18:06

View original

3 replies

Userlevel 7
Badge +2

Hi Arkadiy,


I'm assuming you're talking about the Non-Sequential Component Editor. In which case, the feature you're looking for is a ZPL Macro Solve. So, instead of Pickup, you need to specify a ZPL Macro filename, and the calculations will be in that macro. Have a look at this article.


Let me know if this works for you.


Take care,


David

Userlevel 7
Badge +2

In fact, have a look at this example I made for you (you can download, and open the ZAR archive and the ZPL Macro will be installed for you automatically).


I made a ZPL Macro Solve, which returns the sum of the Y, and Z position into a cell (in this case Tilt About 😵.


I let you go through the article I talked about before, and read the Help File for the relevant parts of the code.



Take care,


David

Hi David,


Thanks a lot of for your answer.


Thats really what I was looking.


Regards,


Arkadiy


 

Reply