change direction of InsertConstraint

change direction of InsertConstraint

GeorgK
Advisor Advisor
294 Views
2 Replies
Message 1 of 3

change direction of InsertConstraint

GeorgK
Advisor
Advisor

Hello together,

 

how could I check the direction of a InsertConstraint and change it?

 

Thank you

 

Georg

0 Likes
295 Views
2 Replies
Replies (2)
Message 2 of 3

dg2405
Advocate
Advocate
Dim oInsertConstraint As InsertConstraint
Set oInsertConstraint = oAsmCompDef.Constraints.AddInsertConstraint(oEntity1, oEntity2, False, 0)
If oInsertConstraint.AxesOpposed = False Then
oInsertConstraint.AxesOpposed = True
End If
Message 3 of 3

GeorgK
Advisor
Advisor
0 Likes