Library | Package Java Toolkit

Interface UDFCustomCreateInstructions

package com.ptc.pfc.pfcUDFCreate;

public interface UDFCustomCreateInstructions
  extends com.ptc.pfc.pfcUDFGroup.UDFGroupCreateInstructions



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 Known Subclasses:
WUDFCustomCreateInstructions



Method Summary
/*optional*/ ComponentPathGetAssemblyReference ()
    Get method for attribute "AssemblyReference"
    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*/ UDFDependencyTypeGetDependencyType ()
    Get method for attribute "DependencyType"
    The dependency of the UDF. The choices correspond to the choices available when you create the UDF interactively.
/*optional*/ UDFDimensionDisplayTypeGetDimDisplayType ()
    Get method for attribute "DimDisplayType"
    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*/ UDFExternalReferencesGetExtReferences ()
    Get method for attribute "ExtReferences"
    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*/ StringGetInstanceName ()
    Get method for attribute "InstanceName"
    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*/ UDFAssemblyIntersectionsGetIntersections ()
    Get method for attribute "Intersections"
    An array of intersections of the UDF and parts within the assembly.
/*optional*/ UDFOrientationsGetOrientations ()
    Get method for attribute "Orientations"
    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*/ Point3DsGetQuadrants ()
    Get method for attribute "Quadrants"
    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*/ UDFReferencesGetReferences ()
    Get method for attribute "References"
    An array of element references.
/*optional*/ DoubleGetScale ()
    Get method for attribute "Scale"
    If the value of the ScaleType field is UDFSCALE_CUSTOM, this field is the user-defined scale factor. Otherwise, this field is ignored.
/*optional*/ UDFScaleTypeGetScaleType ()
    Get method for attribute "ScaleType"
    Specifies what should happen if the UDF used different length units than the model to which it is being applied.
/*optional*/ UDFVariantValuesGetVariantValues ()
    Get method for attribute "VariantValues"
    An array of variable dimensions and pattern parameters
voidSetAssemblyReference ( /*optional*/ ComponentPath value)
    Set method for attribute "AssemblyReference"
    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.
voidSetDependencyType ( /*optional*/ UDFDependencyType value)
    Set method for attribute "DependencyType"
    The dependency of the UDF. The choices correspond to the choices available when you create the UDF interactively.
voidSetDimDisplayType ( /*optional*/ UDFDimensionDisplayType value)
    Set method for attribute "DimDisplayType"
    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.
voidSetExtReferences ( /*optional*/ UDFExternalReferences value)
    Set method for attribute "ExtReferences"
    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.
voidSetInstanceName ( /*optional*/ String value)
    Set method for attribute "InstanceName"
    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.
voidSetIntersections ( /*optional*/ UDFAssemblyIntersections value)
    Set method for attribute "Intersections"
    An array of intersections of the UDF and parts within the assembly.
voidSetOrientations ( /*optional*/ UDFOrientations value)
    Set method for attribute "Orientations"
    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.''
voidSetQuadrants ( /*optional*/ Point3Ds value)
    Set method for attribute "Quadrants"
    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.
voidSetReferences ( /*optional*/ UDFReferences value)
    Set method for attribute "References"
    An array of element references.
voidSetScale ( /*optional*/ Double value)
    Set method for attribute "Scale"
    If the value of the ScaleType field is UDFSCALE_CUSTOM, this field is the user-defined scale factor. Otherwise, this field is ignored.
voidSetScaleType ( /*optional*/ UDFScaleType value)
    Set method for attribute "ScaleType"
    Specifies what should happen if the UDF used different length units than the model to which it is being applied.
voidSetVariantValues ( /*optional*/ UDFVariantValues value)
    Set method for attribute "VariantValues"
    An array of variable dimensions and pattern parameters

Methods Inherited from Interface com.ptc.pfc.pfcUDFGroup.UDFGroupCreateInstructions
GetName, SetName, GetShowUDFEditMenu, SetShowUDFEditMenu, GetShowModifyNCSeqMenu, SetShowModifyNCSeqMenu, GetUseExistingTools, SetUseExistingTools, GetTurnOffUDFRedefineMenu, SetTurnOffUDFRedefineMenu, GetTurnOffFixModelUI, SetTurnOffFixModelUI

Method Detail

GetInstanceName/SetInstanceName

/*optional*/ StringGetInstanceName ()
voidSetInstanceName ( /*optional*/ String value)


    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.
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetDependencyType/SetDependencyType

/*optional*/ UDFDependencyTypeGetDependencyType ()
voidSetDependencyType ( /*optional*/ UDFDependencyType value)


    The dependency of the UDF. The choices correspond to the choices available when you create the UDF interactively.
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetScaleType/SetScaleType

/*optional*/ UDFScaleTypeGetScaleType ()
voidSetScaleType ( /*optional*/ UDFScaleType value)


    Specifies what should happen if the UDF used different length units than the model to which it is being applied.
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetScale/SetScale

/*optional*/ DoubleGetScale ()
voidSetScale ( /*optional*/ Double value)


    If the value of the ScaleType field is UDFSCALE_CUSTOM, this field is the user-defined scale factor. Otherwise, this field is ignored.
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetVariantValues/SetVariantValues

/*optional*/ UDFVariantValuesGetVariantValues ()
voidSetVariantValues ( /*optional*/ UDFVariantValues value)


    An array of variable dimensions and pattern parameters
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetDimDisplayType/SetDimDisplayType

/*optional*/ UDFDimensionDisplayTypeGetDimDisplayType ()
voidSetDimDisplayType ( /*optional*/ UDFDimensionDisplayType value)


    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.
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetReferences/SetReferences

/*optional*/ UDFReferencesGetReferences ()
voidSetReferences ( /*optional*/ UDFReferences value)


    An array of element references.
Manual References:
Features: Creating a Custom UDF



GetIntersections/SetIntersections

/*optional*/ UDFAssemblyIntersectionsGetIntersections ()
voidSetIntersections ( /*optional*/ UDFAssemblyIntersections value)


    An array of intersections of the UDF and parts within the assembly.
Manual References:
Features: Creating a Custom UDF



GetOrientations/SetOrientations

/*optional*/ UDFOrientationsGetOrientations ()
voidSetOrientations ( /*optional*/ UDFOrientations value)


    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.''
Manual References:
Features: Creating a Custom UDF, Features: Creating a Custom UDF



GetQuadrants/SetQuadrants

/*optional*/ Point3DsGetQuadrants ()
voidSetQuadrants ( /*optional*/ Point3Ds value)


    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.
Manual References:
Features: Creating a Custom UDF



GetAssemblyReference/SetAssemblyReference

/*optional*/ ComponentPathGetAssemblyReference ()
voidSetAssemblyReference ( /*optional*/ ComponentPath value)


    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.



GetExtReferences/SetExtReferences

/*optional*/ UDFExternalReferencesGetExtReferences ()
voidSetExtReferences ( /*optional*/ UDFExternalReferences value)


    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.
Manual References:
Features: Creating a Custom UDF