Skip to main content
1-Visitor
June 17, 2015
Solved

Any toolkit API to get the item Quantity.(i.e rpt.qty)

  • June 17, 2015
  • 1 reply
  • 1182 views

Any toolkit API to get the item Quantity.(i.e rpt.qty)


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by mender

No, I'm afraid there's no Toolkit APIs for repeat regions and their records.  You can take the assembly, traverse the components, and calculate the quantities.  You might even be able to read the text from the table and interpret it as needed, but I imagine going from the assembly would be better.

1 reply

mender12-AmethystAnswer
12-Amethyst
June 17, 2015

No, I'm afraid there's no Toolkit APIs for repeat regions and their records.  You can take the assembly, traverse the components, and calculate the quantities.  You might even be able to read the text from the table and interpret it as needed, but I imagine going from the assembly would be better.

mwaghmode1-VisitorAuthor
1-Visitor
June 17, 2015

Thanks Matthew,

Yes i thought same approach to find the item quantity in assembly.

I would be good if some API will do the same job.

//Manoj