Setting Orientations
Methods Introduced:
pfcUDFOrientations class represents an array of orientations that provide the answers to Creo applications prompts that use a flip arrow. Each term is a pfcUDFOrientation object that takes the following values:
• pfcUDFORIENT_INTERACTIVE—Prompt for the orientation using a flip arrow.
• pfcUDFORIENT_NO_FLIP—Accept the default flip orientation.
• pfcUDFORIENT_FLIP—Invert the orientation from the default orientation.
Use
pfcUDFOrientations::create to create an empty object and then use
pfcUDFOrientations::insert to add
pfcUDFOrientation objects one by one.
The order of orientations should correspond to the order in which Creo prompts for them when the UDF is created interactively. If you do not provide an orientation the default value NO_FLIP is used.
After the
pfcUDFOrientations object has been set use
pfcUDFCustomCreateInstructions::SetOrientations to add the orientations.