Skip to main content
1-Visitor
June 20, 2022
Question

How can I add a hole driven by a relation?

  • June 20, 2022
  • 2 replies
  • 1448 views

I'm trying to create holes in a part that depends on its lenght. If the part has a lenght >= than 2000mm the hole should appear with a certain distance from the middle. If it's <= than 1000mm the holes shouldn't appear. 

 

How can I do that? I tried to write it as an IF condition but the holes are appearing in both cases.

2 replies

21-Topaz I
June 20, 2022

You mean you created a parameter, relations and put an IF statement in ProProgram?
Do you have a model to attach to the case? it will clarify your request.

23-Emerald IV
June 20, 2022

Technically the extra parameter is not required.  The Pro/Program IF statement just needs to reference the length dimension.

 

TomU_0-1655748263255.png

 

Creo 7.0 sample part attached.

24-Ruby III
June 20, 2022

Hi,

please create Creo files for testing purposes, pack them into single zip file and upload this zip file.