cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

mwaghmode
1-Newbie

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.
1 ACCEPTED SOLUTION

Accepted Solutions
mender
6-Contributor
(To:mwaghmode)

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.

View solution in original post

3 REPLIES 3
mender
6-Contributor
(To:mwaghmode)

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.

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

gkoch
1-Newbie
(To:mender)

I marked the answer as correct, to signal to community that the thread is answered

Top Tags