MapInfo Pro Developers User Group

 View Only
Expand all | Collapse all

functions icons dimensions

  • 1.  functions icons dimensions

    Posted 05-13-2024 02:52
    What functions in the MENU.def file correspond to the following icons?
    The first is M_TOOLS_RULER and the rest?


    Thanks


    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------


  • 2.  RE: functions icons dimensions

    Employee
    Posted 05-13-2024 09:44

    The other 3 are features from MapCAD so they aren't referenced in the menu.def



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 3.  RE: functions icons dimensions

    Posted 05-13-2024 15:18
    And how can I call those functions from MAPBASIC?


    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------



  • 4.  RE: functions icons dimensions

    Employee
    Posted 05-14-2024 03:08

    Hi

    Several of the MapCAD functions can be called via the Exec() function through MapBasic.

    Check out this document: MapCAD Tools Executable via Exec() function 



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 5.  RE: functions icons dimensions

    Posted 05-14-2024 16:21

    Ok. Thanks



    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------



  • 6.  RE: functions icons dimensions

    Posted 05-16-2024 06:47
    Edited by Peter Møller 05-17-2024 01:23

    Ok we have this function, but how can I make the points dynamic. That is, the user points them out

    'Creates a new circle object.
    Dim NewObj as object
    NewObj = Exec("MapCAD.mbx","CircleFromPointsXY", 
                   434204.02,5566829.13,434219.39 ,5566833.997,434218.18,5566852.19)
    Insert into [Table] (obj) values (NewObj)

    'Updates objects with calculated circles from coordinate columns (X1 ...Y3).
    Update [Table] set obj=Exec("MapCAD.mbx","CircleFromPointsXY", X1, Y1, X2, Y2, X3, Y3)

    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------



  • 7.  RE: functions icons dimensions