Method CreateLoftedShape
CreateLoftedShape(DocumentId, bool, SmartPoint3D, List<SmartProfile3D>, List<SmartPoint3D>, SmartPoint3D, CurveParametricApproximationType, List<SmartProfile3D>, CurveParametricApproximationType, SmartReal, FacesDivisionType, bool, bool, bool)
Creates a lofted shape operation in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 301, 180)]
ElementId CreateLoftedShape(DocumentId inDocumentId, bool inIsPeriodic, SmartPoint3D inStartPoint, List<SmartProfile3D> inLoftedProfiles, List<SmartPoint3D> inLoftedProfilesOrigins, SmartPoint3D inEndPoint, CurveParametricApproximationType inLoftedProfilesSynchronization, List<SmartProfile3D> inGuideProfiles, CurveParametricApproximationType inGuideProfilesSynchronization, SmartReal inIntersectionTolerance, FacesDivisionType inFacesDivision, bool inMatchesSegmentToSegment, bool inSimplifiesGeometry, bool inIsSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| bool | inIsPeriodic | Makes a periodic lofted shape (i.e. without start and end). |
| SmartPoint3D | inStartPoint | Start point, or null if not degenerated to a point at start. |
| List<SmartProfile3D> | inLoftedProfiles | Lofted profiles. |
| List<SmartPoint3D> | inLoftedProfilesOrigins | Origins on closed lofted profiles, or null if not closed or use profile start point. |
| SmartPoint3D | inEndPoint | End point, or null if not degenerated to a point at end. |
| CurveParametricApproximationType | inLoftedProfilesSynchronization | Lofted profiles synchronization. |
| List<SmartProfile3D> | inGuideProfiles | Guide profiles, or null if none. |
| CurveParametricApproximationType | inGuideProfilesSynchronization | Guide profiles synchronization. |
| SmartReal | inIntersectionTolerance | Tolerance used to search intersections between lofted and guide profiles. |
| FacesDivisionType | inFacesDivision | Faces division type. |
| bool | inMatchesSegmentToSegment | Matches segment to segment instead of profile to profile. |
| bool | inSimplifiesGeometry | Simplifies the geometry when possible. |
| bool | inIsSurface | Makes a surface instead of a solid. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created shape entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.10.301.180.