Documentación de la API > Drawings and detail > Object ProDrawing > Function ProDrawingDimAttachpointsViewGet
Function ProDrawingDimAttachpointsViewGet
Description
Retrieves the attachments and the sense of the specified drawing dimension. Only applicable for dimensions created in drawing mode. This function gets and interprets the attachments in the context of the view in which the dimension is placed This function also supports drawing dimensions created from intersections of geometric entities.
Synopsis
#include <ProDrawing.h>
ProDrawingDimAttachpointsViewGet
(
ProDrawing drawing
/* (In)
The drawing.
*/
ProDimension* dimension
/* (In)
The dimension.
*/
ProDimAttachment** attachments_arr
/* (Out)
ProArray of attachments. Each attach point is described by two consecutive array elements, of which the second one may be null. If both elements are not null then the attach point refers to the intersection of the elements. If the second element is null then the attach point refers to the first one. Free this result using ProDimattachmentarrayFree(). Pass NULL if not interested in this output.
*/
ProDimSense** dsense_arr
/* (Out)
ProArray of dimension sense. Free this result using ProArrayFree(). Pass NULL if not interested in this output.
*/
)
Returns
one or more of the input arguments are invalid or if both the output arguments are NULL.
the dimension specified is not a valid dimension created in drawing mode.
successfully retrieved the attachments and the sense.
the dimension sense type is not supported with this function.
User Guide References
¿Fue esto útil?