JeffYao28
367 Views, 2 Replies

How does Fabrication API access product id breakpoints in Ancillary table

From Fabrication API under Autodesk.Fabrication.DB namespace, there's a class called Database which has a static member called Ancillaries. Iterating through it would give me AncillaryBase derived objects. The AncillaryBase  class has a member called ProductId. When ProductId is empty, it would typically corresponds to the CAMduct UI that shows as "Breakpoints". To get a specific example of that breakpoints in CAMduct, click Database command from CAMduct, then click Fittings command. After that, from the left panel of the tree view, click "Ancillaries". Choose "Ancillary Materials" as the type of ancillary. In the Ductwork Ancillaries section of the main window area, "AccuFlange-SW Galv" has a Product Id that is showing as Breakpoints. Click that row to launch the editor, then click "Product Ids" button at the bottom. You will see a product id table. Is there a way to programmatically get the table? It doesn't have to be the specific table. Many ancillary records have breakpoints like that. Please find attached the PNG file screen shot to show how to get the breakpoints from CAMduct UI.