ProjectToSurfaceCurves.Add Method
Parent Object: ProjectToSurfaceCurvesDescription
Method that creates a project to surface curve.
Syntax
ProjectToSurfaceCurves.Add( Faces As ObjectCollection, Curves As ObjectCollection, [ProjectionType] As Variant, [ProjectDirection] As Variant ) As ProjectToSurfaceCurveParameters
Name | Type | Description |
Faces | ObjectCollection | Input ObjectCollection that specifies the faces and/or work planes to project curves to. Valid objects for this argument include Face and WorkPlane. |
Curves | ObjectCollection | Input ObjectCollection that specifies the curves to project. This can be one or more 2D/3D sketch entities, the sketch entities need not to be from the same sketch. |
ProjectionType | Variant | Optional input ProjectCurveToSufaceTypeEnum that specifies the projection type.
If not specified this argument defaults to kProjectAlongVectorType and the PorjectDirection can be specified, and the Curves can include 2D&3D sketch entities.
If kProjectToClosestPointType is specified the Curves can include 2D&3D sketch entities.
If kWrapToFaceType is specified, the Faces should be developable faces, otherwise an error would occur. The Curves should include 2D sketch entities only. This is an optional argument whose default value is null. |
ProjectDirection | Variant | Optional input an object to specify the project direction. The direction is bidirectional. If not specified the normal of the sketch of first selected sketch entity is used. Valid objects are:
· Linear Edge/WorkAxis, the direction of the edge is used.
· Planar Face/WorkPlane, the normal of the face is used.
· Cylindrical/conical/elliptical Face, the axis of the face is used. This is an optional argument whose default value is null. |