Skip to main content
Solved

How to make a calculation in component editor ?


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.

Best answer by David.Nguyen

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

View original
Did this topic help you find an answer to your question?

3 replies

David.Nguyen
Luminary
Forum|alt.badge.img+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


David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1088 replies
  • Answer
  • June 23, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings