Search Results for

    Show / Hide Table of Contents

    Interface IShapes

    Gives access to shape entities.

    Namespace: TopSolid.Kernel.Automating
    Assembly: TopSolid.Kernel.Automating.dll
    Syntax
    [ServiceContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    public interface IShapes
    Remarks

    This interface is available since v7.6.

    Methods

    Name Description
    CreateColoringOperation(List<ElementItemId>, Color)

    Changes the color of the faces.

    CreateExtrudedShape(DocumentId, SmartSection3D, SmartDirection3D, SmartReal, SmartReal, bool, bool)

    Creates an extruded shape operation in a document.

    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.

    CreateRevolvedShape(DocumentId, SmartSection3D, SmartAxis3D, SmartReal, bool, bool)

    Creates a revolved shape operation in a document.

    FindNearestPointToPoint(ElementId, Point3D, out ElementItemId, out double, out double, out bool)

    Finds the nearest point on a shape to a specified reference point.

    GetBoundaryEdges(ElementId)

    Gets the boundary edges of a shape.

    GetEdgeCircleCurve(ElementItemId, out Plane3D, out double)

    Gets the circle curve attached to an edge.

    GetEdgeCount(ElementId)

    Gets the number of edges of a shape.

    GetEdgeCurveParameter(ElementItemId, Point3D, out double)

    Gets the parametric value of a specified point on the curve attached to an edge.

    GetEdgeCurveRange(ElementItemId, out bool, out double, out double)

    Gets the parametric range of the curve attached to an edge.

    GetEdgeCurveType(ElementItemId)

    Gets the type of the curve attached to an edge.

    GetEdgeLength(ElementItemId)

    Gets the length of an edge.

    GetEdgeLineCurve(ElementItemId, out Axis3D)

    Gets the line curve attached to an edge.

    GetEdgeNormal(ElementItemId, double)

    Gets the normal to an edge at a specified parametric value.

    GetEdgePoint(ElementItemId, double)

    Gets a point on the curve attached to an edge at a specified parametric value.

    GetEdgeRange(ElementItemId, out double, out double)

    Gets the parametric range of an edge.

    GetEdgeTangent(ElementItemId, double)

    Gets the tangent to the curve attached to an edge at a specified parametric value.

    GetEdgeVertices(ElementItemId, out ElementItemId, out ElementItemId)

    Gets the start and end vertices of an edge.

    GetEdges(ElementId)

    Gets the edges of a shape.

    GetFaceArea(ElementItemId)

    Gets the area of a face.

    GetFaceColor(ElementItemId)

    Gets the color of a face.

    GetFaceConnectedFaces(ElementItemId)

    Gets the face connected faces.

    GetFaceCount(ElementId)

    Gets the number of faces of a shape.

    GetFaceCylinderDirection(ElementItemId)

    Gets the direction of a cylinder face.

    GetFaceCylinderLength(ElementItemId)

    Gets the length of a cylinder face.

    GetFaceCylinderRadius(ElementItemId)

    Gets the radius of a cylinder face.

    GetFaceCylinderSurface(ElementItemId, out Frame3D, out double)

    Gets the cylinder surface attached to a face.

    GetFaceEdges(ElementItemId)

    Gets the edges of a face.

    GetFaceEnclosingCoordinates(ElementItemId, out double, out double, out double, out double, out double, out double)

    Gets the face enclosing coordinates in the absolute frame coordinates.

    GetFaceEnclosingCoordinatesWithGivenFrame(ElementItemId, Frame3D, out double, out double, out double, out double, out double, out double)

    Gets the face enclosing coordinates in the given frame coordinates.

    GetFaceLoops(ElementItemId)

    Gets the loops of a face.

    GetFaceMachiningProcess(ElementItemId, out int)

    Gets the machining process of a face.

    GetFaceNormal(ElementItemId, double, double)

    Gets the normal to the surface attached to a face at specified parametric values.

    GetFacePlaneSurface(ElementItemId, out Plane3D)

    Gets the plane surface attached to a face.

    GetFacePoint(ElementItemId, double, double)

    Gets a point on the surface attached to a face at specified parametric values.

    GetFaceRange(ElementItemId, out double, out double, out double, out double)

    Gets the parametric range of a face.

    GetFaceSphereSurface(ElementItemId, out Frame3D, out double)

    Gets the sphere surface attached to a face.

    GetFaceSurfaceParameters(ElementItemId, Point3D, out double, out double)

    Gets the parametric values of a specified point on the surface attached to a face.

    GetFaceSurfaceRange(ElementItemId, out bool, out double, out double, out bool, out double, out double)

    Gets the parametric range of the surface attached to a face.

    GetFaceSurfaceType(ElementItemId)

    Gets the type of the surface attached to a face.

    GetFaceVertices(ElementItemId)

    Gets the vertices of a face.

    GetFaces(ElementId)

    Gets the faces of a shape.

    GetLoopEdges(ElementId, int)

    Gets the edges of a loop.

    GetLoopType(ElementId, int)

    Gets the type of a loop.

    GetShapeCategoryType(ElementId)

    Gets shape category type

    GetShapePublishingDefinition(ElementId)

    Gets the definition of a shape publishing entity.

    GetShapeType(ElementId)

    Gets the type of a shape entity.

    GetShapeVolume(ElementId)

    Gets the volume of a shape entity.

    GetShapes(DocumentId)

    Gets the shapes entities that are in the shapes folder of a document.

    GetShapesFolder(DocumentId)

    Gets the shapes folder entity of a document.

    GetSharpEdges(ElementId, double)

    Gets the sharp edges of a shape.

    GetSmoothEdges(ElementId, double)

    Gets the smooth edges of a shape.

    GetVertexCount(ElementId)

    Gets the number of vertices of a shape.

    GetVertexPoint(ElementItemId)

    Gets the point attached to a vertex.

    GetVertices(ElementId)

    Gets the vertices of a shape.

    IsEdgeReversed(ElementItemId)

    Tells whether an edge is reversed.

    IsEdgeSmooth(ElementItemId, double)

    Tells whether an edge is smooth.

    IsFaceReversed(ElementItemId)

    Tells whether a face is reversed.

    MakeShapeItemGeometryAnalysis(ElementItemId, int, out List<string>, out List<string>)

    Make the geometry analysis of a shape item.

    PublishShape(DocumentId, string, SmartShape)

    Creates a shape publishing entity in a document.

    SearchFaceWithRay(ElementId, Axis3D, bool, bool, out Point3D)

    Searches for the first face of a shape that intersects an axis.

    SetShapePublishingDefinition(ElementId, SmartShape)

    Sets the definition of a shape publishing entity.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.