CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ISTGeomReceiver

    Contains methods for importing geometry to CAM

    Namespace: STGeomApiTypes
    Assembly: STGeomApiTypes.dll
    Syntax
    [Guid("29F37F13-3E46-490A-BD58-24A0E4D7063E")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ISTGeomReceiver

    Properties

    Header

    Header of the current file (format version + metadata). Write side (filer): valid only between StartFile and CloseFile; nil outside that window. Use it after StartFile to add metadata via Header.MetaWriter; CloseFile serializes it. See ISGFMetaWriter for a full write example. Read side (receiver): filled (via Assign) before the geometry stream.

    Declaration
    ISGFFileHeader Header { get; }
    Property Value
    Type Description
    ISGFFileHeader

    Methods

    AddComboSolidEdge(string, string, string, string, string, string)

    Add a edge to the ComboSolid (solid with topology)

    Declaration
    bool AddComboSolidEdge(string EdgeID, string CurveID, string StartVertexID, string EndVertexID, string LeftFaceID, string RightFaceID)
    Parameters
    Type Name Description
    string EdgeID
    string CurveID
    • The internal number of the created curve
    string StartVertexID
    • The internal number of the start vertex (VertexID in AddComboSolidVertex)
    string EndVertexID
    • The internal number of the end vertex (VertexID in AddComboSolidVertex)
    string LeftFaceID
    • The internal number of the left face
    string RightFaceID
    • The internal number of the right face
    Returns
    Type Description
    bool

    Success status

    AddComboSolidFace(string, string)

    Add a face to the ComboSolid (solid with topology)

    Declaration
    bool AddComboSolidFace(string FaceID, string FaceName)
    Parameters
    Type Name Description
    string FaceID
    • The internal number of the created face (ID in StartFace)
    string FaceName
    • The name of the entity in the geometric model tree
    Returns
    Type Description
    bool

    Success status

    AddComboSolidVertex(TST3DPoint, string)

    Declaration
    bool AddComboSolidVertex(TST3DPoint P, string VertexID)
    Parameters
    Type Name Description
    TST3DPoint P
    string VertexID
    Returns
    Type Description
    bool

    AddEntity(string, string)

    Add an entity to the geometric model tree

    Declaration
    bool AddEntity(string ID, string EntityName)
    Parameters
    Type Name Description
    string ID
    • The internal number by which the entity will be found
    string EntityName
    • The name of the entity in the geometric model tree
    Returns
    Type Description
    bool

    Success status

    AddFaceEdge2d(string, bool, string, string)

    Declaration
    bool AddFaceEdge2d(string CurveID, bool Orientation, string svID, string tvID)
    Parameters
    Type Name Description
    string CurveID
    bool Orientation
    string svID
    string tvID
    Returns
    Type Description
    bool

    AddFaceEdge3d(string, bool, string, string)

    Declaration
    bool AddFaceEdge3d(string CurveID, bool Orientation, string svID, string tvID)
    Parameters
    Type Name Description
    string CurveID
    bool Orientation
    string svID
    string tvID
    Returns
    Type Description
    bool

    AddIntersectionCurvePoint(TST3DPoint)

    Declaration
    bool AddIntersectionCurvePoint(TST3DPoint Position)
    Parameters
    Type Name Description
    TST3DPoint Position
    Returns
    Type Description
    bool

    AddMeshTriangle(int, int, int)

    Declaration
    bool AddMeshTriangle(int v1, int v2, int v3)
    Parameters
    Type Name Description
    int v1
    int v2
    int v3
    Returns
    Type Description
    bool

    AddMeshVertex(int, TST3DPoint)

    Declaration
    bool AddMeshVertex(int Index, TST3DPoint P)
    Parameters
    Type Name Description
    int Index
    TST3DPoint P
    Returns
    Type Description
    bool

    AddPmiText(string)

    Declaration
    bool AddPmiText(string Text)
    Parameters
    Type Name Description
    string Text
    Returns
    Type Description
    bool

    AddViewEntity(string, string)

    Declaration
    bool AddViewEntity(string ViewID, string EntityPath)
    Parameters
    Type Name Description
    string ViewID
    string EntityPath
    Returns
    Type Description
    bool

    ArcTo2d(TST2DPoint, TST2DPoint, double)

    Declaration
    bool ArcTo2d(TST2DPoint pc, TST2DPoint P, double rad)
    Parameters
    Type Name Description
    TST2DPoint pc
    TST2DPoint P
    double rad
    Returns
    Type Description
    bool

    BeginObject_PMIThread(string)

    Get IPMIGeomThread interface

    Declaration
    IPMIGeomThread BeginObject_PMIThread(string CADID)
    Parameters
    Type Name Description
    string CADID

    Unique CAD identifier

    Returns
    Type Description
    IPMIGeomThread

    IPMIGeomThread

    BeginPmiEntity(string, TST3DPoint, TST3DPoint, TST3DPoint, TSTPmiType)

    Declaration
    bool BeginPmiEntity(string ID, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX, TSTPmiType PmiType)
    Parameters
    Type Name Description
    string ID
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    TSTPmiType PmiType
    Returns
    Type Description
    bool

    BeginPmiText(TST3DPoint, double, double, double, int, TSTPmiTextType)

    Declaration
    bool BeginPmiText(TST3DPoint vT, double Angle, double Height, double Length, int NumberLines, TSTPmiTextType TextType)
    Parameters
    Type Name Description
    TST3DPoint vT
    double Angle
    double Height
    double Length
    int NumberLines
    TSTPmiTextType TextType
    Returns
    Type Description
    bool

    BezierTo2d(TST2DPoint, TST2DPoint, TST2DPoint)

    Declaration
    bool BezierTo2d(TST2DPoint p1, TST2DPoint p2, TST2DPoint p3)
    Parameters
    Type Name Description
    TST2DPoint p1
    TST2DPoint p2
    TST2DPoint p3
    Returns
    Type Description
    bool

    CloseBlock()

    Finish forming a block (assembly element)

    Declaration
    bool CloseBlock()
    Returns
    Type Description
    bool

    Success status

    CloseComboModel()

    Finish forming a model with topology (ComboMode)

    Declaration
    bool CloseComboModel()
    Returns
    Type Description
    bool

    Success status

    CloseComboSolid()

    Finish forming a solid with topology (ComboSolid)

    Declaration
    bool CloseComboSolid()
    Returns
    Type Description
    bool

    Success status

    CloseCurve2d(bool)

    Declaration
    bool CloseCurve2d(bool Close)
    Parameters
    Type Name Description
    bool Close
    Returns
    Type Description
    bool

    CloseCurve3d(bool)

    Declaration
    bool CloseCurve3d(bool IsClosed)
    Parameters
    Type Name Description
    bool IsClosed
    Returns
    Type Description
    bool

    CloseFace()

    Finish forming the bounded surface (face)

    Declaration
    bool CloseFace()
    Returns
    Type Description
    bool

    Success status

    CloseFaceLoop()

    Finish forming the face loop

    Declaration
    bool CloseFaceLoop()
    Returns
    Type Description
    bool

    Success status

    CloseGroupEntity()

    Finish forming the geometric group

    Declaration
    bool CloseGroupEntity()
    Returns
    Type Description
    bool

    Success status

    CloseIntersectionCurve()

    Finish forming the intersection curve

    Declaration
    bool CloseIntersectionCurve()
    Returns
    Type Description
    bool

    Success status

    CloseMesh()

    Finish forming the mesh

    Declaration
    bool CloseMesh()
    Returns
    Type Description
    bool

    Success status

    CloseModel()

    Finish forming the model

    Declaration
    bool CloseModel()
    Returns
    Type Description
    bool

    Success status

    CloseNurbsCurve()

    Finish forming the NURBS curve

    Declaration
    bool CloseNurbsCurve()
    Returns
    Type Description
    bool

    Success status

    CloseNurbsSurface()

    Finish forming the NURBS surface

    Declaration
    bool CloseNurbsSurface()
    Returns
    Type Description
    bool

    Success status

    CloseNurbsSurfaceB(double, double, double, double)

    Declaration
    bool CloseNurbsSurfaceB(double UMin, double UMax, double VMin, double VMax)
    Parameters
    Type Name Description
    double UMin
    double UMax
    double VMin
    double VMax
    Returns
    Type Description
    bool

    CreateArc(string, double, double, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateArc(string ID, double Radius, double Angle, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    string ID
    double Radius
    double Angle
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    CreateBlendBound(string, string, int)

    Declaration
    bool CreateBlendBound(string ID, string Blend, int Boundary)
    Parameters
    Type Name Description
    string ID
    string Blend
    int Boundary
    Returns
    Type Description
    bool

    CreateBlendedSurface(string, string, string, string, double, double, TSTBlendedType, TST3DPoint, TSTLimitType, TST3DPoint, TSTLimitType)

    Declaration
    bool CreateBlendedSurface(string ID, string FirstSurfID, string SecondSurfID, string Spine, double Range1, double Range2, TSTBlendedType BlendedType, TST3DPoint p1, TSTLimitType L1, TST3DPoint p2, TSTLimitType L2)
    Parameters
    Type Name Description
    string ID
    string FirstSurfID
    string SecondSurfID
    string Spine
    double Range1
    double Range2
    TSTBlendedType BlendedType
    TST3DPoint p1
    TSTLimitType L1
    TST3DPoint p2
    TSTLimitType L2
    Returns
    Type Description
    bool

    CreateCircle(string, double, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateCircle(string ID, double Radius, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    string ID
    double Radius
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    CreateConeP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double, double, double)

    Declaration
    bool CreateConeP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double Radius, double SemiAngle, double Hmin, double Hmax, double Amin, double Amax)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    TST3DPoint RefAxis
    double Radius
    double SemiAngle
    double Hmin
    double Hmax
    double Amin
    double Amax
    Returns
    Type Description
    bool

    CreateConicalSpiral(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double, bool)

    Declaration
    bool CreateConicalSpiral(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double StartRadius, double TermRadius, double Step, double Distance, bool CCW)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    TST3DPoint RefAxis
    double StartRadius
    double TermRadius
    double Step
    double Distance
    bool CCW
    Returns
    Type Description
    bool

    CreateCoordinateSystem(string, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateCoordinateSystem(string CSID, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    string CSID
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    CreateCurveOnSurface(string, string, string)

    Create a 3D curve on the surface

    Declaration
    bool CreateCurveOnSurface(string ID, string CurveID, string SurfaceID)
    Parameters
    Type Name Description
    string ID
    • The internal number of the entity
    string CurveID
    • The internal number of the created curve
    string SurfaceID
    • The internal number of the created surface
    Returns
    Type Description
    bool

    Success status

    CreateCylinderP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double, double)

    Declaration
    bool CreateCylinderP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double Radius, double Hmin, double Hmax, double Amin, double Amax)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    TST3DPoint RefAxis
    double Radius
    double Hmin
    double Hmax
    double Amin
    double Amax
    Returns
    Type Description
    bool

    CreateEllipse(string, double, double, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateEllipse(string ID, double MajRad, double MinRad, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    string ID
    double MajRad
    double MinRad
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    CreateEllipseArc(string, double, double, double, double, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateEllipseArc(string ID, double MajRad, double MinRad, double SAng, double TAng, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    string ID
    double MajRad
    double MinRad
    double SAng
    double TAng
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    CreateInversedCurve(string, string)

    Create an inversed curve

    Declaration
    bool CreateInversedCurve(string ID, string SourceCurveID)
    Parameters
    Type Name Description
    string ID
    • The internal number of the entity
    string SourceCurveID
    • The internal number of the created curve
    Returns
    Type Description
    bool

    Success status

    CreateLineSeg(string, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateLineSeg(string ID, TST3DPoint sp, TST3DPoint tp)
    Parameters
    Type Name Description
    string ID
    TST3DPoint sp
    TST3DPoint tp
    Returns
    Type Description
    bool

    CreateOffsetSurf(string, string, double)

    Declaration
    bool CreateOffsetSurf(string ID, string Surf, double Offset)
    Parameters
    Type Name Description
    string ID
    string Surf
    double Offset
    Returns
    Type Description
    bool

    CreatePlaneP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double)

    Declaration
    bool CreatePlaneP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double xMin, double yMin, double xMax, double yMax)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    TST3DPoint RefAxis
    double xMin
    double yMin
    double xMax
    double yMax
    Returns
    Type Description
    bool

    CreatePoint(string, TST3DPoint)

    Declaration
    bool CreatePoint(string ID, TST3DPoint P)
    Parameters
    Type Name Description
    string ID
    TST3DPoint P
    Returns
    Type Description
    bool

    CreateRevSurface120(string, TST3DPoint, TST3DPoint, string, double, double)

    Declaration
    bool CreateRevSurface120(string ID, TST3DPoint Location, TST3DPoint Axis, string GeneratrixID, double sa, double ta)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    string GeneratrixID
    double sa
    double ta
    Returns
    Type Description
    bool

    CreateSolidEdge(string, string, string, string)

    Create an edge for the solid

    Declaration
    bool CreateSolidEdge(string ID, string SourceCurveID, string svID, string tvID)
    Parameters
    Type Name Description
    string ID
    • The internal number of the entity
    string SourceCurveID
    • The internal number of the created curve
    string svID
    • Start vertex
    string tvID
    • End vertex
    Returns
    Type Description
    bool

    Success status

    CreateSolidVertex(string, TST3DPoint)

    Declaration
    bool CreateSolidVertex(string ID, TST3DPoint P)
    Parameters
    Type Name Description
    string ID
    TST3DPoint P
    Returns
    Type Description
    bool

    CreateSphereP(string, TST3DPoint, TST3DPoint, TST3DPoint, double)

    Declaration
    bool CreateSphereP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double Radius)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    TST3DPoint RefAxis
    double Radius
    Returns
    Type Description
    bool

    CreateTabSurface122(string, string, TST3DPoint)

    Declaration
    bool CreateTabSurface122(string ID, string GeneratrixID, TST3DPoint ExtrusionVector)
    Parameters
    Type Name Description
    string ID
    string GeneratrixID
    TST3DPoint ExtrusionVector
    Returns
    Type Description
    bool

    CreateTorusP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double)

    Declaration
    bool CreateTorusP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double MajRad, double MinRad)
    Parameters
    Type Name Description
    string ID
    TST3DPoint Location
    TST3DPoint Axis
    TST3DPoint RefAxis
    double MajRad
    double MinRad
    Returns
    Type Description
    bool

    CreateTransposedUVSurface(string, string)

    Create a transposed surface (swap U and V)

    Declaration
    bool CreateTransposedUVSurface(string ID, string SourceSurface)
    Parameters
    Type Name Description
    string ID
    • The internal number of the entity
    string SourceSurface
    • The internal number of the surface
    Returns
    Type Description
    bool

    Success status

    CreateTrimmedCurve(string, string, double, double)

    Declaration
    bool CreateTrimmedCurve(string ID, string SourceCurveID, double t1, double t2)
    Parameters
    Type Name Description
    string ID
    string SourceCurveID
    double t1
    double t2
    Returns
    Type Description
    bool

    CreateTrimmedCurve2(string, string, TST3DPoint, TST3DPoint)

    Declaration
    bool CreateTrimmedCurve2(string ID, string SourceCurveID, TST3DPoint p1, TST3DPoint p2)
    Parameters
    Type Name Description
    string ID
    string SourceCurveID
    TST3DPoint p1
    TST3DPoint p2
    Returns
    Type Description
    bool

    CreateView(TST3DPoint, TST3DPoint, TST3DPoint, double, string)

    Declaration
    bool CreateView(TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX, double Scale, string ID)
    Parameters
    Type Name Description
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    double Scale
    string ID
    Returns
    Type Description
    bool

    CutTo2d(TST2DPoint)

    Declaration
    bool CutTo2d(TST2DPoint P)
    Parameters
    Type Name Description
    TST2DPoint P
    Returns
    Type Description
    bool

    CutTo3d(TST3DPoint)

    Declaration
    bool CutTo3d(TST3DPoint P)
    Parameters
    Type Name Description
    TST3DPoint P
    Returns
    Type Description
    bool

    EndObject(object)

    Write the geometry object to the SGF file

    Declaration
    bool EndObject(object obj)
    Parameters
    Type Name Description
    object obj

    Geometry object

    Returns
    Type Description
    bool

    Success status

    EndPmiEntity()

    Declaration
    bool EndPmiEntity()
    Returns
    Type Description
    bool

    EndPmiText()

    Declaration
    bool EndPmiText()
    Returns
    Type Description
    bool

    InsertBlock(string, string)

    Copy and paste the block into the geometric model tree

    Declaration
    bool InsertBlock(string BlockID, string NewBlockName)
    Parameters
    Type Name Description
    string BlockID
    • The name of the block to copy and paste (BlockName in StartBlock)
    string NewBlockName
    • The name of the group in the geometric model tree
    Returns
    Type Description
    bool

    Success status

    LoadFile(string)

    Load the file to CAM

    Declaration
    bool LoadFile(string GeomFile)
    Parameters
    Type Name Description
    string GeomFile
    • The path to the file
    Returns
    Type Description
    bool

    Success status

    LoadFileWithScale(string, bool)

    Declaration
    bool LoadFileWithScale(string GeomFile, bool ADeleteFile)
    Parameters
    Type Name Description
    string GeomFile
    bool ADeleteFile
    Returns
    Type Description
    bool

    PmiAddArrow(TST3DPoint, double, TSTPmiArrowType)

    Declaration
    bool PmiAddArrow(TST3DPoint vT, double Angle, TSTPmiArrowType ArrowType)
    Parameters
    Type Name Description
    TST3DPoint vT
    double Angle
    TSTPmiArrowType ArrowType
    Returns
    Type Description
    bool

    PmiAddCurve(string, TSTPmiCurveType)

    Declaration
    bool PmiAddCurve(string CurveID, TSTPmiCurveType CurveType)
    Parameters
    Type Name Description
    string CurveID
    TSTPmiCurveType CurveType
    Returns
    Type Description
    bool

    PmiAddMesh(string)

    Declaration
    bool PmiAddMesh(string ID)
    Parameters
    Type Name Description
    string ID
    Returns
    Type Description
    bool

    SetArcToler(double)

    Declaration
    bool SetArcToler(double Value)
    Parameters
    Type Name Description
    double Value
    Returns
    Type Description
    bool

    SetCurrentColor(int)

    Declaration
    bool SetCurrentColor(int Value)
    Parameters
    Type Name Description
    int Value
    Returns
    Type Description
    bool

    SetCurrentLineType(TSTLineType)

    Declaration
    bool SetCurrentLineType(TSTLineType Value)
    Parameters
    Type Name Description
    TSTLineType Value
    Returns
    Type Description
    bool

    SetCurrentLineWidth(int)

    Declaration
    bool SetCurrentLineWidth(int Value)
    Parameters
    Type Name Description
    int Value
    Returns
    Type Description
    bool

    SetCurrentTransform(TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool SetCurrentTransform(TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    SetCurrentTransform2(TST3DPoint, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool SetCurrentTransform2(TST3DPoint vT, TST3DPoint vX, TST3DPoint vY, TST3DPoint vZ)
    Parameters
    Type Name Description
    TST3DPoint vT
    TST3DPoint vX
    TST3DPoint vY
    TST3DPoint vZ
    Returns
    Type Description
    bool

    SetCurveDomain(string, double, double, double, double)

    Declaration
    bool SetCurveDomain(string ID, double SrcTmin, double SrcTmax, double PrxTmin, double PrxTmax)
    Parameters
    Type Name Description
    string ID
    double SrcTmin
    double SrcTmax
    double PrxTmin
    double PrxTmax
    Returns
    Type Description
    bool

    SetCurveParametrization(string, double, double)

    Declaration
    bool SetCurveParametrization(string CurveID, double TMin, double TMax)
    Parameters
    Type Name Description
    string CurveID
    double TMin
    double TMax
    Returns
    Type Description
    bool

    SetGroupEntityIsSolid(bool)

    Declaration
    bool SetGroupEntityIsSolid(bool Value)
    Parameters
    Type Name Description
    bool Value
    Returns
    Type Description
    bool

    SetIgnoreOutOfRange(bool)

    Declaration
    bool SetIgnoreOutOfRange(bool Value)
    Parameters
    Type Name Description
    bool Value
    Returns
    Type Description
    bool

    SetImportOption(TSTImportOption, bool)

    Declaration
    bool SetImportOption(TSTImportOption OptionType, bool OptionValue)
    Parameters
    Type Name Description
    TSTImportOption OptionType
    bool OptionValue
    Returns
    Type Description
    bool

    SetModelUnits(TST_LinearMeasure, double)

    Declaration
    bool SetModelUnits(TST_LinearMeasure Units, double MultScale)
    Parameters
    Type Name Description
    TST_LinearMeasure Units
    double MultScale
    Returns
    Type Description
    bool

    SetNurbsCurveControlPoint(int, TST3DPoint)

    Declaration
    bool SetNurbsCurveControlPoint(int Index, TST3DPoint P)
    Parameters
    Type Name Description
    int Index
    TST3DPoint P
    Returns
    Type Description
    bool

    SetNurbsCurveKnot(int, double)

    Declaration
    bool SetNurbsCurveKnot(int Index, double knot)
    Parameters
    Type Name Description
    int Index
    double knot
    Returns
    Type Description
    bool

    SetNurbsCurveWeight(int, double)

    Declaration
    bool SetNurbsCurveWeight(int Index, double w)
    Parameters
    Type Name Description
    int Index
    double w
    Returns
    Type Description
    bool

    SetNurbsSurfaceControlPoint(int, int, TST3DPoint)

    Declaration
    bool SetNurbsSurfaceControlPoint(int i, int j, TST3DPoint P)
    Parameters
    Type Name Description
    int i
    int j
    TST3DPoint P
    Returns
    Type Description
    bool

    SetNurbsSurfaceUKnot(int, double)

    Declaration
    bool SetNurbsSurfaceUKnot(int i, double Value)
    Parameters
    Type Name Description
    int i
    double Value
    Returns
    Type Description
    bool

    SetNurbsSurfaceVKnot(int, double)

    Declaration
    bool SetNurbsSurfaceVKnot(int i, double Value)
    Parameters
    Type Name Description
    int i
    double Value
    Returns
    Type Description
    bool

    SetNurbsSurfaceWeight(int, int, double)

    Declaration
    bool SetNurbsSurfaceWeight(int i, int j, double Value)
    Parameters
    Type Name Description
    int i
    int j
    double Value
    Returns
    Type Description
    bool

    SetPmiAssociativity(int, string)

    Declaration
    bool SetPmiAssociativity(int i, string ObjId)
    Parameters
    Type Name Description
    int i
    string ObjId
    Returns
    Type Description
    bool

    SetPmiPreferenceD(string, double)

    Declaration
    bool SetPmiPreferenceD(string Path, double Value)
    Parameters
    Type Name Description
    string Path
    double Value
    Returns
    Type Description
    bool

    SetPmiPreferenceI(string, int)

    Declaration
    bool SetPmiPreferenceI(string Path, int Value)
    Parameters
    Type Name Description
    string Path
    int Value
    Returns
    Type Description
    bool

    SetSurfaceUVDomain(string, double, double, double, double, double, double, double, double, bool)

    Declaration
    bool SetSurfaceUVDomain(string ID, double SrcUmin, double SrcUmax, double SrcVmin, double SrcVmax, double PrxUmin, double PrxUmax, double PrxVmin, double PrxVmax, bool TransposeUV)
    Parameters
    Type Name Description
    string ID
    double SrcUmin
    double SrcUmax
    double SrcVmin
    double SrcVmax
    double PrxUmin
    double PrxUmax
    double PrxVmin
    double PrxVmax
    bool TransposeUV
    Returns
    Type Description
    bool

    StartBlock(string)

    Start forming a block (assembly element). It contains one model with topology (ComboModel), which must be reused during the import process. The block is placed in a buffer, from which it is inserted into the geometric model tree using InsertBlock

    Declaration
    bool StartBlock(string BlockName)
    Parameters
    Type Name Description
    string BlockName
    • The unique name of the block (ComboModel)
    Returns
    Type Description
    bool

    Success status

    StartComboModel(string)

    Start forming a model with topology (ComboModel). The Model will be sewn

    Declaration
    bool StartComboModel(string GeomFile)
    Parameters
    Type Name Description
    string GeomFile
    • The unique name of the model
    Returns
    Type Description
    bool

    Success status

    StartComboSolid(string)

    Start forming a solid with topology (ComboSolid)

    Declaration
    bool StartComboSolid(string ID)
    Parameters
    Type Name Description
    string ID
    • Name of the solid
    Returns
    Type Description
    bool

    Success status

    StartCurve2d(string, TST2DPoint, TST3DPoint, TST3DPoint, TST3DPoint)

    Declaration
    bool StartCurve2d(string ID, TST2DPoint P, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
    Parameters
    Type Name Description
    string ID
    TST2DPoint P
    TST3DPoint vT
    TST3DPoint vZ
    TST3DPoint vX
    Returns
    Type Description
    bool

    StartCurve3d(string, TST3DPoint)

    Declaration
    bool StartCurve3d(string ID, TST3DPoint P)
    Parameters
    Type Name Description
    string ID
    TST3DPoint P
    Returns
    Type Description
    bool

    StartFace(string, string, bool)

    Declaration
    bool StartFace(string ID, string SurfaceID, bool NormalOrientation)
    Parameters
    Type Name Description
    string ID
    string SurfaceID
    bool NormalOrientation
    Returns
    Type Description
    bool

    StartFaceLoop()

    Start forming a face loop

    Declaration
    bool StartFaceLoop()
    Returns
    Type Description
    bool

    Success status

    StartGroupEntity(string)

    Start forming a geometric group

    Declaration
    bool StartGroupEntity(string EntityName)
    Parameters
    Type Name Description
    string EntityName
    • The name of the group
    Returns
    Type Description
    bool

    Success status

    StartIntersectionCurve(string, string, string, TSTLimitType, TSTLimitType, double, double)

    Declaration
    bool StartIntersectionCurve(string ID, string FirstSurfID, string SecondSurfID, TSTLimitType L1, TSTLimitType L2, double BaseParam, double BaseScale)
    Parameters
    Type Name Description
    string ID
    string FirstSurfID
    string SecondSurfID
    TSTLimitType L1
    TSTLimitType L2
    double BaseParam
    double BaseScale
    Returns
    Type Description
    bool

    StartMesh(string)

    Start forming a mesh

    Declaration
    bool StartMesh(string ID)
    Parameters
    Type Name Description
    string ID
    • The internal number of the entity
    Returns
    Type Description
    bool

    Success status

    StartModel()

    Start forming a model

    Declaration
    bool StartModel()
    Returns
    Type Description
    bool

    Success status

    StartNurbsCurve(string, int, bool, bool, bool, int, int)

    Declaration
    bool StartNurbsCurve(string ID, int Degree, bool IsPeriodic, bool IsRational, bool IsClosed, int KnotCount, int CPCount)
    Parameters
    Type Name Description
    string ID
    int Degree
    bool IsPeriodic
    bool IsRational
    bool IsClosed
    int KnotCount
    int CPCount
    Returns
    Type Description
    bool

    StartNurbsSurface(string, int, int, int, int, bool, bool, bool, bool, bool)

    Declaration
    bool StartNurbsSurface(string ID, int K1, int K2, int UDegree, int VDegree, bool UClosed, bool VClosed, bool UPeriodic, bool VPeriodic, bool Rational)
    Parameters
    Type Name Description
    string ID
    int K1
    int K2
    int UDegree
    int VDegree
    bool UClosed
    bool VClosed
    bool UPeriodic
    bool VPeriodic
    bool Rational
    Returns
    Type Description
    bool
    In this article