Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

Checking if component exists in aassembly

Status
Not open for further replies.

conrat

New member
Hi there,



I was wondering if anyone knows how to check to see if a component exists in an assembly, prior to accessing it.



For instance, if a part is assembled to the model based on if a certain
parameter is true, is there a way to check if that component is in
session when writing relations? Something like:



if component exists<br style="color: rgb(255, 0, 0);">
hole_dia from component = .5



Also, is there a way of doing this for features in a part as well?



if feature exists<br style="color: rgb(255, 0, 0);">
hole_dia = .5



or



if feature is not supressed<br style="color: rgb(255, 0, 0);">
hole_dia = .5



The problem I have is, I can access feature values in an assembly from
a part, but if that component is supressed, I get errors in my
relations if I edit the relations while the part is supressed. I
also get "invalid symbol" errors under similar circumstances.



Thanks in advance

Jim
 

conrat

New member
Sorry if this was the wrong forum to post this in. I also posted it in the Modeling forum.



By the way, I am using ProE 2001, but I assume Wildfire would be similar
 
Status
Not open for further replies.

Sponsor

Top