Object ProBomballoon

Function ProBomballoonByRecordCreate


Description
Create BOM Balloon at detail table record.
Synopsis
#include <ProBomballoon.h>
ProErrorProBomballoonByRecordCreate(
ProDrawing pro_drawing
/* (In)
BOM balloons will be created at this drawing. This must be displayed in the window.
*/
ProDwgtable* pro_table
/* (In)
The detail table define the bill of material.
*/
int region_id
/* (In)
The region of the table contain the BOM definition, If region_id is equal -1, use region 0 of the table.
*/
ProView pro_view
/* (In)
The view where the BOM balloons will be create. Use for BOM balloon creation without leader.
*/
int table_record_index
/* (In)
BOM balloons will be created at first component match to this table record. Indices start with 0.
*/
int* reference_memb_id_tab
/* (In)
ProArray: member id tab to component contain the reference for the leader.
*/
int reference_id
/* (In)
reference id. If it set to PRO_VALUE_UNUSED attach without leader.
*/
ProType reference_type
/* (In)
reference type.
*/
double* attach_note_location
/* (In)
ProArray: free attachment point for the BOM balloon.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the BOM balloons.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_NOT_DISPLAYEDThe Drawing is not displayed.

Manual References:

  1. Drawings: Creating BOM Balloons
  2. Drawings: Creating BOM Balloons