Skip to main content
1-Visitor
Jun 17, 2015 1:56 PM UTC
Solved

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

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.
menderAnswer
12-Amethyst
Jun 17, 2015 2:04 PM UTC

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.

3 replies

mender12-AmethystAnswer
12-Amethyst
Jun 17, 2015 2:04 PM UTC

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.

Translate
mwaghmode1-VisitorAuthor
1-Visitor
Jun 17, 2015 2:11 PM UTC

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

Translate