Adding Mate constraint using cylinder face axis

Adding Mate constraint using cylinder face axis

Jef_E
Collaborator Collaborator
576 Views
1 Reply
Message 1 of 2

Adding Mate constraint using cylinder face axis

Jef_E
Collaborator
Collaborator

Hi,

I am struggling to add a mate constraint between 2 cylindrical faces (axis to axis).

If I just constraint the faces it results in an triangle warning in Inventor.

 

How do you select the axis from a face with surface type kCylinderSurface and constraint it?



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
Accepted solutions (1)
577 Views
1 Reply
Reply (1)
Message 2 of 2

Jef_E
Collaborator
Collaborator
Accepted solution

' Constraint the planes axis
_Assembly.ComponentDefinition.Constraints.AddMateConstraint(oTubesheetFaceProxy, oTubeAxisFaceProxy, 0, InferredTypeEnum.kInferredLine, InferredTypeEnum.kInferredLine)

 

Use the optional input line



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2