MapInfo Pro

Welcome to the MapInfo Pro community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Product Documentation  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  "MapCad, can I access Tools as functions in MapBasic? "

    Posted 07-12-2018 23:55
    I want to write a mapbasic script that starts with a polyline, then uses the MapCad "Create Parallel" tool to generate a region to one side, and then performs a select with that region.


  • 2.  RE: "MapCad, can I access Tools as functions in MapBasic? "

    Posted 07-25-2018 00:55

    Hi Nick. I want to write a script to create a series of road surface, pavement and formation footprints along a polyline using the create parallel tool.?



  • 3.  RE: "MapCad, can I access Tools as functions in MapBasic? "

    Employee
    Posted 08-23-2018 05:46

    Hi

    The infrastructure in MapInfo Pro and MapBasic is actually in place to do these things with the latest version (v17.0)

    We have made it possible to call/use custom functions in running MapBasic applications from other MapBasic tools or from MapInfo Pro itself.

    Currently this would be thru the Exec() functions. Moving forward it will be possible for the MapBasic developer to publish functions which will be available in the interface and possible also accessible from other MapBasic tools.

    But, and it's a rather big but, it all comes down to the developer of the tools. The problem is that from the outside you can't know which functions are available in a specific tool and therefor you don't know which function to use.

    I'm sure we will see the number of published and available functions grow as the power of this feature starts to become visible.



  • 4.  RE: "MapCad, can I access Tools as functions in MapBasic? "

    Posted 08-23-2018 10:01

    Hi,

    This is Michael, I'm one of the MapCAD developers. Peter asked me for an official statement!

    We plan to provide some MapCAD features for use in other MapBasic programs. That should be possible with the new Exec () function (one of the great new 64-bit features). This includes Create Parallel, Reverse Line Direction, Calculate Angle, Calculate Direction, and a few others.

    For the current version 17.0.1 (coming soon) is in code freeze, so we can not change anything. But we want to integrate it in the next version.

    I hope this helps. If you have other suggestions for MapCAD, please let me know.