Library | Module

Class pfcUDFCustomCreateInstructions



Description

Contains all options required to place a UDF programmatically. Users can enter attribute data programmatically, or wait for Creo Parametric to interactively prompt for the missing data.
Direct Parent Classes:
pfcUDFGroupCreateInstructions



Property Summary

/* optional */ pfcComponentPathAssemblyReference
This property specifies the path to the placement model from the top-level assembly used by reference selections, if the placement model is not the top level assembly. This is necessary whenever external references are used for placement, or whenever the reference selections are made from a context outside of the placement model.
/* optional */ pfcUDFDependencyTypeDependencyType
The dependency of the UDF. The choices correspond to the choices available when you create the UDF interactively.
/* optional */ pfcUDFDimensionDisplayTypeDimDisplayType
These values correspond to the options in Creo Parametric for determining the appearance in the model of UDF dimensions and pattern parameters that were not variable in the UDF, and therefore cannot be modified in the model.
/* optional */ pfcUDFExternalReferencesExtReferences
This property is deprecated. To specify the path to the placement model from the top-level assembly used by reference selections use the AssemblyReference property.
/* optional */ stringInstanceName
If the UDF contains a family table, this field can be used to select which instance in that table is to be selected. If the UDF contains no family table, or if the generic instance is to be selected, the string should be empty.
/* optional */ pfcUDFAssemblyIntersectionsIntersections
An array of intersections of the UDF and parts within the assembly.
/* optional */ pfcUDFOrientationsOrientations
An array of orientations that provide the answers to Creo Parametric prompts that use a flip arrow. 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.''
/* optional */ pfcPoint3DsQuadrants
An array of points, which provide the X, Y, and Z coordinates that correspond to the picks answering the Creo Parametric prompts for the feature positions. The order of quadrants should correspond to the order in which Creo Parametric prompts for them when the UDF is created interactively.
/* optional */ pfcUDFReferencesReferences
An array of element references.
/* optional */ numberScale
If the value of the ScaleType field is UDFSCALE_CUSTOM, this field is the user-defined scale factor. Otherwise, this field is ignored.
/* optional */ pfcUDFScaleTypeScaleType
Specifies what should happen if the UDF used different length units than the model to which it is being applied.
/* optional */ pfcUDFVariantValuesVariantValues
An array of variable dimensions and pattern parameters



Method Summary

static pfcUDFCustomCreateInstructionsCreate (string Name)
Creates an instructions object, which is used to place a UDF programmatically.



Property Detail


/* optional */ pfcComponentPathAssemblyReference

This property specifies the path to the placement model from the top-level assembly used by reference selections, if the placement model is not the top level assembly. This is necessary whenever external references are used for placement, or whenever the reference selections are made from a context outside of the placement model.




/* optional */ pfcUDFDependencyTypeDependencyType

The dependency of the UDF. The choices correspond to the choices available when you create the UDF interactively.




/* optional */ pfcUDFDimensionDisplayTypeDimDisplayType

These values correspond to the options in Creo Parametric for determining the appearance in the model of UDF dimensions and pattern parameters that were not variable in the UDF, and therefore cannot be modified in the model.




/* optional */ pfcUDFExternalReferencesExtReferences

This property is deprecated. To specify the path to the placement model from the top-level assembly used by reference selections use the AssemblyReference property.

If one or more valid component path is supplied for this property, and null is supplied for the AssemblyReference property, the first component path supplied will be used for the AssemblyReference path.




/* optional */ stringInstanceName

If the UDF contains a family table, this field can be used to select which instance in that table is to be selected. If the UDF contains no family table, or if the generic instance is to be selected, the string should be empty.




/* optional */ pfcUDFAssemblyIntersectionsIntersections

An array of intersections of the UDF and parts within the assembly.




/* optional */ pfcUDFOrientationsOrientations

An array of orientations that provide the answers to Creo Parametric prompts that use a flip arrow. 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.''




/* optional */ pfcPoint3DsQuadrants

An array of points, which provide the X, Y, and Z coordinates that correspond to the picks answering the Creo Parametric prompts for the feature positions. The order of quadrants should correspond to the order in which Creo Parametric prompts for them when the UDF is created interactively.




/* optional */ pfcUDFReferencesReferences

An array of element references.




/* optional */ numberScale

If the value of the ScaleType field is UDFSCALE_CUSTOM, this field is the user-defined scale factor. Otherwise, this field is ignored.




/* optional */ pfcUDFScaleTypeScaleType

Specifies what should happen if the UDF used different length units than the model to which it is being applied.




/* optional */ pfcUDFVariantValuesVariantValues

An array of variable dimensions and pattern parameters





Method Detail


static pfcUDFCustomCreateInstructionsCreate (string Name)

Creates an instructions object, which is used to place a UDF programmatically.

Used as a component of pfcUDFCustomCreateInstructions .
Parameters:
Name
Name of UDF to be placed.
Returns:
Instance of the UDFCustomCreateInstructions object.