Example Code 2
The sample code in the file pfcFeaturesExamples.vb located at <creo_vbapi_loadpoint>/vbapi_examples places copies of a hole UDF at a particular location in an assembly. The hole is embedded in a surface of one of the assembly's components, and placed a particular location away from two normal datum planes (the default value for the dimension is used for this example). The UDF creation requires a quadrant determining the location for the UDF (since it could be one of four areas) and intersection instructions for the assembly members (this example makes the hole visible down to the part level). The method returns the IpfcFeatureGroup object created.
Was this helpful?