Daniele

RCL syntax

3 posts in this topic

I'm new to RCL programming language.

In my first try I got very impressive for automating repetitive tasks.

I got a little bit confused when I looked to the RCL Help file.

I couldn't find how to set same options. So I exported the GlobalSettings.ini and I gave it a look.

By now I get these 2 little scripts:

1. Create a Profile from a Solid Lithological Model with a XY Table already stored in the database project

DEFINE: TABLES PROFILE_TABLE profile NS1

DEFINE: LOG_PROFILE TRUNCATE true

DEFINE: GENERAL 2D_OUTPUT profile NS1 a.rk6

EXECUTE: LITH_PROFILE

2. Export the #1 Profile to JPG

DEFINE: RKW2JPG RKW_FILE_NAME profile NS1 a.rk6

DEFINE: RKW2JPG JPG_FILE_NAME output/profile NS1 a.jpg

DEFINE: BITMAP_OPTIONS RESOLUTION 200

DEFINE: BITMAP_OPTIONS VERT_EXAG 2.0

DEFINE: BITMAP_OPTIONS SCALE 25.0

EXECUTE: RKW2JPG

How to get the right command syntax if I connot see the RCL menu, as for Export to JPG?

I found BITMAP_OPTIONS SCALE 25.0 in the GlobalSettings.ini file, whiel VERT_EXAG in Rockworks forum.

Is there a complete syntax manual?

Thank you.

DLattuada

Share this post


Link to post
Share on other sites

Hi Daniele,

The RockPlot2D Export tools do have regular "tree-style" menus, in the Grafix / 2D Utilities / Export menu, available from the Borehole Manager or Utilities. If you select any of those program options, you can use the Menu | Show RCL or Menu | Save to RCL commands to generate the RCL list, as you do with most of the other functions in RockWorks.

Molly Mayfield

Rockware Inc

Share this post


Link to post
Share on other sites

Hi Molly,

both the Grafix / 2D Utilities / Export menu and the View RCL.. menu let me save lot of time in automating repetitive tasks.

I suggest also the ReportWorks, a little bit unfriendly, but usefull to print RK6 linked representations as soon as they change.

Thank you.

Daniele

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now