After you supply all the necessary data (almost always by calling SetName() and AddReference(); additional methods are employed as needed), call ISolid::PlaceUdf().
Public Member Functions | |
| HRESULT | AddOrientation ([in] enum EUdfOrientation in_orientation) |
| Adds to an array of orientation choices. | |
| HRESULT | AddQuadrant ([in] double in_x,[in] double in_y,[in] double in_z) |
| Adds to an array of 3-dimensional points that correspond to the picks answering the Pro/ENGINEER prompts for the feature positions. | |
| HRESULT | AddReference ([in] BSTR in_prompt,[in] ISelection *in_selection,[in, defaultvalue(0)] VARIANT_BOOL in_external) |
| Adds a reference structure to the UDF data. | |
| HRESULT | AddVarDim ([in] BSTR in_dim_name,[in] double in_value,[in] enum EUdfVarDimType in_type) |
| Adds a variant dimension data structure to the UDF creation data. | |
| HRESULT | SetDependency ([in] enum EUdfDependency in_dependency) |
| Sets the dependency of newly created group from the UDF. | |
| HRESULT | SetDimDisplay ([in] enum EUdfDimDisplay in_dim_display) |
| Sets the dimension display option. | |
| HRESULT | SetName ([in] BSTR in_udf_name,[in, defaultvalue("")] BSTR in_instance) |
| Sets the name and instance name of the UDF. | |
| HRESULT | SetScale ([in] enum EUdfScaleType in_type,[in, defaultvalue(1.0)] double in_scale) |
| Specifies how to modify the dimensions of the UDF with respect to the placement model. | |
1.5.1-p1