This section gives you information about questions you may have when working with User Features (UDFs).
Can I insert measures in a UDF?No, you cannot. Measures are not supported by UDFs, the data structure does not support them. |
Can a UDF have a variable number of inputs?No it cannot. |
Can I insert sub-elements into a UDF?No you cannot. To know which features can be inserted into a UDF, see the What cannot be inserted into a UDF? question. |
What is the use of typing a UDF?Associating a type to a UDF can be useful: It will be available through the Search functionality and will also be available in the Knowledge Expert Browser. To get an example, see Referencing User Features in Search Operations. |
When typing a UDF, why must I split the Instance Type into 2 fields?Instance Type is divided in 2 fields to guarantee the unicity of the created type. The first 3 characters could be a company prefix for example and the last field could be the UDF identifier. |
How can I make persistent the type that I created when creating my UDF?If you want to reuse the generated type in another CATIA session:
|
What cannot be inserted into a UDF?Please find below a list of features that cannot be inserted into a UDF:
|
Does the UDF keep link with the document that was used to create it?No it does not. |
What can I do with a User Feature with a PK1 license?You can instantiate a UDF, modify its inputs, update it and integrate it in a Power Copy or in another UDF. |
I've embedded my optimization into a UDF. It is launched by the VB action of a reaction, But it doesn't work at instantiation. Could you tell me why?It is certainly because in the VB body of the action, the Optimization is accessed with its VB resolution and it is not referenced. When you instantiate the UDF, the path of the Optimization changes (it is aggregated under the UDF) and thus the action doesn't succeed anymore. To make it work, use a VBScript with an optimization argument in the action. |
Can I use a Part that contains a UDF if I don't have KT1? How does the geometry behave?Yes you can but there are restrictions. The feature is broken and you can only visualize/copy-paste it thanks to the backup-startup mechanism. |
Can I insert non consecutive elements into a User Feature?No. The components of a User Feature must be consecutive elements if they are located in an ordered set like an Ordered Geometrical Set. It is recommended to create the components of a template (PowerCopy or User Feature) in the same set and to select this set as the only component of the template. |
What License do I need to:
|