Message 1 of 4
Add constraint with ilogic without naming the geometry of the parts possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
is it possible to define a constraint in an assembly with an iLogic rule without having defined the geometries within the parts before?
I Use the code snipped like:
Constraints.AddMate("Mate1", "Part1:1", "Work Plane1", "Part2:1", "Work Plane1", offset := 0.0, e1InferredType := InferredTypeEnum.kNoInference, e2InferredType := InferredTypeEnum.kNoInference, solutionType := MateConstraintSolutionTypeEnum.kNoSolutionType, biasPoint1 := Nothing, biasPoint2 := Nothing)
This works fine as long as I´m able to name the used geometry within my parts. But as I´m working within a Vault invoronment with a lot "released" parts or parts from content center, it is not possible to name the geometry within the parts since i am not supposed to work on the parts themselves.
I´m working with Inventor 2020 at the moment.
About help or workarounds I would be very grateful!
Regards,
Ole