Symmetrical Geometry Constraint Between Two Lines - API

Symmetrical Geometry Constraint Between Two Lines - API

danijel.radenkovic
Collaborator Collaborator
371 Views
1 Reply
Message 1 of 2

Symmetrical Geometry Constraint Between Two Lines - API

danijel.radenkovic
Collaborator
Collaborator

Hello Inventor Users,

I need a some advice for VBA to create symmetrical constraint using API.

I have found for coincident constraint but not for symetrical.

symmetric.png

 

Thanks in advance.

Regards

Danijel

Inventor 2018/Windows 10 x64
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
0 Likes
Accepted solutions (1)
372 Views
1 Reply
Reply (1)
Message 2 of 2

danijel.radenkovic
Collaborator
Collaborator
Accepted solution

Hello Everyone,

I have found a way,

Call xySketch.GeometricConstraints.AddSymmetry(oLine1, oLine2, oLine3)

 

where: oLine1 is a line on the left side on the screen, oLine2 is on the right side and oLine3 is construction line on the middle.

 

Regards

Danijel

 

Inventor 2018/Windows 10 x64
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
0 Likes