Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, experts. Is there any way I can make the solution type of mate constraint "aligned" instead of default to "undirected"?
According to the official documentation here: Inventor 2024 Help | MateConstraint Object | Autodesk, the solution type is read-only and there are no other properties/methods that allow me to change the solution type.
Here are my code to construct the the mate constraint:
Dim mateCons As MateConstraint
mateCons = asmDef.Constraints.AddMateConstraint(targetTemplateEdge, targetDuplicateEdge, 0)
mateCons.Visible = True
MsgBox(mateCons.SolutionType)
Thank you for the help!
Solved! Go to Solution.