Message 1 of 6

Not applicable
08-12-2020
10:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to recreate some iLogic functionality through the Inventor API. My goal is too add constraints to parts in an assembly using the names faces of the part. In iLogic, I can simply run something like:
Constraints.AddMate("Mate1", "Pipe:1", "TopEdgeFace", "Pipe:2", "UpperExternalHangingFace", offset:=0.0, e1InferredType:=InferredTypeEnum.kNoInference, e2InferredType:=InferredTypeEnum.kNoInference, solutionType:=MateConstraintSolutionTypeEnum.kNoSolutionType, biasPoint1:=Nothing, biasPoint2:=Nothing)
where "TopEdgeFace" and "UpperExternalHangingFace" are both faces that I manually named on the base "Pipe" ipt file. I can't figure out how to recreate this in the Inventor API. How do I access the named faces and pass them in a way that makes sense?
Thank you in advance!
Solved! Go to Solution.