Browse By Tags

  • Automation Run-time error '-2147352567 (80020009)'

    Product(s): MAXSURF Stability Version(s): varies Area: Automation Problem When trying to use OpenProbDamage command the error occurs: Solution The issue occurs when: 1. Save .pdm file 2. Change the name of the file…
  • MAXSURF Automation COM Troubleshooting

    Product(s): MAXSURF Stability Version(s): varies Area: Automation Problem Troubleshooting Automation Solution Getting MAXSURF to talk to other packages can be a really powerful thing. We can use it to generate reports…
  • Maxsurf Stability Automation

    Hi everyone, I am trying to improve on a microsoft visual basic script that is currently copying the equilibrium results table directly. In doing so we lose some of the significant digits and also the format of the data table will be dependent on…
  • Tank calibration CopyTable method VBA returns error

    Hi there, I have a VBA script that automates maxsurf stability to generate output for stability booklets. I run VBA from Word and control Maxsurf Stability through the COM interface. It works fine except one thing: It fails to copy the Tank Calibration…
  • Tank Calibration Graph Automation

    Hi, I'm trying to create an automation in Excel using VBA that automates and creates an output for the Tank Calibration analysis. I'm able to get the automation working but cannot call in the tank calibration graph. It does not appear under the Design…
  • Maxsurf Stability VBA and COM

    Running a LAS the freeboard for each keypoint is available in the keypoint results table. However i am unable to select the result for a single angle/keypoint combination from the table using VBA/COM and get a run time error (Freeboard in only calcualted…
  • Run Maxsurf in the background

    Hi, I was wondering whether it is possible to run Maxsurf Stability in the background somehow through VBA or any other automation tool, and if it woud make the analysis faster. would appreciate any assistance with this! Thanks
  • Maxsurf Stability VCG Correction Options VBA

    Hi I am writing a VBA script to set all of our companies preferences into Maxsurf stability once opened. I am struggling to write the code to allow me to set the following options, is this possible and is there any methods you would advise? …
  • Build and Edit Compartments with MAXSURF Automation

    Hi, I am looking to create a tool that builds several compartment definitions within the maxsurf room definition window. At present I can add a new compartment using Design.Compartments however the control over the tank geometry is limited (ie you can…
  • Maxsurf Stability Automation - Design.Copytable sometimes fails to copy data to clipboard

    Hi There, I'm almost there with a VBA reporting routine that runs all kinds of analysis in Maxsurf Stability and pastes the results in a Word file. This macro runs a given analysis for given load/damage case and then copy/pastses and formats the data…
  • Trouble getting graphs copied from stability into word through VBA Design.CopyImage

    Hi there, I'm trying to automate data exchange from Maxsurf Stability to Word for reporting. Now specifically I'm running a large angle stability analysis, and trying to get a copy of the stability curve from Maxsurf Stability into my Word report…
  • Oil outflow and Maxsurf automation

    Hello all, I need to change the arrangement of oil tanks for calculating the oil outflow. I also need to use the Maxsurf automation due to study verity of designs. When I use the manual method, I can tick (or untick) the check box of the tanks in the…
  • RE: Exception While Initializing Maxsurf Stability Advanced Via COM

    Hello Sahin -- there are lots of sample COM code in the samples folder: C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V21\Automation Samples\Hydromax You should be opening the model file -- the one with the .msd extension (the data in…