Setting Orientations
Properties Introduced:
pfcUDFOrientations class represents an array of orientations that provide the answers to Creo Parametric prompts that use a flip arrow. Each term is a pfcUDFOrientation object that takes the following values:
UDFORIENT_INTERACTIVE—Prompt for the orientation using a flip arrow.
UDFORIENT_NO_FLIP—Accept the default flip orientation.
UDFORIENT_FLIP—Invert the orientation from the default orientation.
The order of orientations should correspond to the order in which Creo Parametric prompts for them when the UDF is created interactively. If you do not provide an orientation that Creo Parametric needs, it uses the default value NO_FLIP.
After the pfcUDFOrientations object has been set use pfcUDFCustomCreateInstructions.Orientations to add the orientations.
Was this helpful?