Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Failed Assembly Relationships.

Status
Not open for further replies.

beachcomber

Mechanical
Jan 19, 2005
1,488
I have a large assembly where a lot of parts have been replaced, causing quite a few relationships to fail.
Does anyone have or know of a way, possibly via a macro, to delete all failed relationships?
I know there is ARelDoctor, but that just suppresses them.
I suppose I could modify that one to delete.

Using V20.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.
 
Replies continue below

Recommended for you

beach, I often repair the failed relationships rather than start again as it often saves having to think about how a part is contstrained. Doesn't always work but I'll throw it out there as because of this I probably wouldn't want to delete a bunch of failed relationships.

KENAT,

Have you reminded yourself of faq731-376 recently, or taken a look at posting policies: What is Engineering anyway: faq1088-1484
 
I find repairing is sometimes tedious, and in this case it's going to be just as quick to re-constrain. It's a load of ventilation duct sections that were mounted on support frames. The duct lengths have changed and the support frames will not be used. What with this and the re-ordering of assemblies, the constraints failed.
I will constrain the parts differently this time so that they are less likely to fail again.
I'm working on a macro to do it, but I can't figure out how to check if a constraint is failed. I can count the constraints in the assembly so I'm confident the code is accessing the file and relationships.
I based it on the code in the .NET programmers guide for analyzing assembly relationships (P88/89)

Maybe that really clever chap Don will have an idea.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.
 
I get what you're saying, I think at earlier versions, or maybe with my then knowledge, starting again was often easier. However, I now find fixing can be better, but it sounds like this isn't the case for you.

KENAT,

Have you reminded yourself of faq731-376 recently, or taken a look at posting policies: What is Engineering anyway: faq1088-1484
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor