PlanarSketch.SketchToModelSpace Method

Parent Object: PlanarSketch

Description

Method that takes a 2D coordinate in sketch space, and returns a Point3d containing the coordinates of the point in model space.

Syntax

PlanarSketch.SketchToModelSpace( SketchCoordinate As Point2d ) As Point

Parameters

Name Type Description
SketchCoordinate Point2d Input Point2d that specifies the 2d coordinate in sketch space.

Samples

Name Description
Hole feature linear placement This sample demonstrates the creation of a hole feature using the linear placement type.
Sweep Feature Add This sample demonstrates the creation of a sweep feature. The profile is a circle, but the path is made up of a 3D sketch and a 2D sketch.
True length of sweep feature This sample demonstrates the calculation of the true length of a sweep feature. If the centroid of the sweep profile does not lie on the sweep path, the true length of the sweep feature is not the same as the sum of lengths of the path entities.

Version

Introduced in version 5