cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How can I add a hole driven by a relation?

RA_9909671
6-Contributor

How can I add a hole driven by a relation?

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.

3 REPLIES 3
remy
21-Topaz I
(To:RA_9909671)

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.

TomU
23-Emerald IV
(To:remy)

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.

Hi,

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


Martin Hanák
Top Tags