
ProSmtBendsrfInfoGet | |
( ProPart smt_part /* (In) The sheetmetal part. */ ProSurface surface /* (In) The sheetmetal bend surface of PRO_SMT_SURF_FACE or PRO_SMT_SURF_OFFSET type. Only cylindrical surfaces and planar surfaces created by unbend of cylindrical surfaces are allowed. The surface might be inactive. */ double* radius /* (Out) Bend radius. Pass NULL if this data is not needed. */ ProBool* is_inside_radius /* (Out) If PRO_B_TRUE, the radius is inside. If PRO_B_FALSE, the radius is outside. Pass NULL if this data is not needed. */ double* angle /* (Out) Bend angle in degrees. Pass NULL if this data is not needed. */ double* dev_length /* (Out) Developed length of surface. Pass NULL if this data is not needed. */ ProSmtDvlLenCalcInfo* dev_len_info /* (Out) Development length info. Pass NULL if this data is not needed. */ ) |

The function collected all required information. | |
The model is not a sheet metal part or the surface is not a bend sutface. PRO_TK_BAD_CONTEXT- The bend table that is used to calculate the developed length is invalid or the bend table formula can't be calculated. | |
The developed length is zero or negative. | |
Some other error. |

