UDF for holes, with reference pattern
- March 7, 2020
- 9 replies
- 4957 views
I want to make an UDF, but i’m not finding a way to do it.
I have two parts, one in the top, other in the bottom. In the top the part has a hole feature created, and propagated with pattern. In the bottom part, i have created an axis system centered in one of the holes, patterned (with reference), and then created a hole centered in the previous axis system and patterned as well with reference.
Now I want to make an UDF, to generate all the holes in the bottom part. But as this holes were created with reference with top part, I’m unable to create it.
When I’m in the step to select the features, that belong to UDF, it appears the following message:
“Including pattern (feat id 6420) by reference must include its reference (feat id 6061, model 3330005-102-001) or entire reference model.”
My question is, how can i select this features, and at the same time, includ its reference?
At the end in the UDF, I only want to select the cylindrical surface of one hole of the top part, select the top surface of the top plane, and the result, os 4 holes generated.
Any tips?

