What's new

Constraint error in an engine assembly

gld

Member
This engine assembly is 80%complete. Just trying to bling it up a bit.
The engine block has a series of 10 holes radial around the X axis. Each has to have a bushing installed. When I select the face of the bushing and then the face of the hole they are constrained together. My problem is when I select a one of the holes I get this error:
Target no longer available:com.alibre.design.ops.OperationTargetProxy
member.getPart().getName() =
topologyAutographOrGuid = []

Obviously the hole is there or I would not be able to select it. Not all the holes produce this error.

And, no I won't post the file so just make suggestions I'll figure it out eventually.
Thank you
 
Sounds like it thinks something got deleted. I've seen something similar in the past. What I would do is close and reopen the assembly and see if that resolves the issue.
As for the constraints for the bushings, I would select the edges of the hole and bushing and apply a Fastener constraint. It will constrain both the axial and the planar position of the bushing.
 
Yes, the error essentially means the selected geometry is not found because it was deleted or moved in the index position or a reference to it somewhere in the script is using an outdated reference when the line is called. You can check what the topology object contains and dump it to get the index then use the design explorer index order (see image) to understand the issue better.

1758745662548.png

For modeling review the faces to know if they change after moving the history bar and regenerating. If the topo indexes are correct (unchanged) then that can mean another feature is causing the constraint to throw that error (a bug ).

I wrote script I meant in Alibre's code/scripting. This is the same error thrown when programming constraints.
 
Last edited:
Thanks, Harold your approach produced this error:
com.alibre.design.ops.MateOperation+UnavailableTargetException: Target not available:com.alibre.acis.ACISEdgeAdapter
at com.alibre.design.ops.MateTarget.getReferenceFigure(ProxyTargetToReferenceFigureStrategy targetToFigureStrategy)
at com.alibre.design.ops.RayCoincidentMateOperation.getReferenceFigures()
at com.alibre.design.ops.RayCoincidentMateOperation.execute(Mating mating, Boolean evaluate
)
More inf:
I tried making it new assembly using just the block and the bushings and I get the same error code as in the first post.

stepalibre,
Thanks for your reply but your explanation went way over my head. It does tell me there is definitely something wrong with the block part. And it's all on the right hand side of the ZX plane. All the bushings on the left hand side are OK.
 
com.alibre.design.ops.MateOperation+UnavailableTargetException: Target not available:com.alibre.acis.ACISEdgeAdapter
at com.alibre.design.ops.MateTarget.getReferenceFigure(ProxyTargetToReferenceFigureStrategy targetToFigureStrategy)
at com.alibre.design.ops.RayCoincidentMateOperation.getReferenceFigures()
at com.alibre.design.ops.RayCoincidentMateOperation.execute(Mating mating, Boolean evaluate
)
Textbook constraint issue
 
That there is a problem on one side only leads me to think that you have mirrored half of the model to create the whole engine block or, at the least the bushing holes are mirrored from one side to the other.
Open the engine block model and see if it contains any errors in the Design Explorer, especially in a Mirror feature if that's part of the design process. If an error exists then that feature will need to be edited to correct the error.
Also do a Regenerate All or just press the F5 key to effect the same function.
Save and close the model then try it in the assembly again to check the constraint issue with the bushings.
 
Thank you Harold. I checked for mirroring of the holes and that was not the problem. One hole on each side of XZ axis was used for the mirror. That was the only way I could get a correct mirroring of the holes. But I did do the regen all and that fixed everything.

Thanks to all who tried to help.
 
Back
Top