Share

GeometricConstraints.AddMidpoint Method

Parent Object: GeometricConstraints

Description

Method that creates a new midpoint constraint between the point and line. This causes the input sketch point to be positioned at the midpoint of the input line. This method will fail if the constraint overconstrains the sketch.

Syntax

GeometricConstraints.AddMidpoint( Point As SketchPoint, Line As SketchLine ) As MidpointConstraint

Parameters

Name Type Description
Point SketchPoint Input SketchPoint entity.
Line SketchLine Input SketchLine object.

Version

Introduced in version 5

Was this information helpful?