Geometrical Constraint

Geometrical Constraint

Anonymous
Not applicable
252 Views
0 Replies
Message 1 of 1

Geometrical Constraint

Anonymous
Not applicable

Hi everyone,

 

I am brand new in this forum, but I already have a question and would be very helpful if someone could bring me some light.

 

I started short time ago to program the API of Inventor (C#) and right now I am dealing with a problem regarding the Geometrical Constraints. The code is:

 

planarSketch.GeometricConstraints.AddCoincident((SketchEntity)lines[0].EndSketchPoint, (SketchEntity)arcs[0].StartSketchPoint);

 

I don't now why but the system give me an error when tries to reach the arc inside the Array. Is there any rule that I should follow to add geoConstraints? Can anyone find a mistake in my code?

 

Thanks,

 

Javier

0 Likes
253 Views
0 Replies
Replies (0)