Message 1 of 1
Geometrical Constraint

Not applicable
12-06-2011
09:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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