Category 3D drawings and annotations, Object ProDimension

Function ProDimensionTextWstringsSet


Description
Sets the text of the specified dimension. This is equivalent to the Creo Parametric command Modify, Text.
Replacement in Object TOOLKIT: pfcBaseDimension::Texts
Synopsis
#include <ProDimension.h>
ProErrorProDimensionTextWstringsSet(
ProDimension* dimension
/* (In)
The dimension handle.
*/
wchar_t** text
/* (In)
ProArray of wstrings. The dimension text. Each line must be null-terminated.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSInput arguments dimension or text is NULL.
PRO_TK_GENERAL_ERROROperation gets terminated unsuccessfully.

Manual References:

  1. Annotations: Annotation Features and Annotations: Dimension Text
  2. Annotations: Annotation Features and Annotations: Dimension Text

Sample Code References:

  1. pt_examples ( TestDimension.c )