Category Graphics and model display, Object ProLinestyle

Function ProLinestyleSet


Description
Sets the line style for the graphics drawn by Creo Parametric TOOLKIT.
Replacement in Object TOOLKIT: pfcBaseSession::SetLineStyle
Synopsis
#include <ProColor.h>
ProErrorProLinestyleSet(
ProLinestyle line_style
/* (In)
The new line style.
*/
ProLinestyle* old_style
/* (Out)
The previous line style. This can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the color.
PRO_TK_NO_CHANGEThe new line style is the same as the old line style.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Setting Line Styles for Creo Toolkit Graphics
  3. User Interface: Basic Graphics: Displaying Graphics

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestExtrude.c )
  3. pt_examples ( TestLinestyle.c )
  4. pt_userguide ( UgModelCheck.c )
  5. pt_userguide ( UgModelCheck.c )