Jump to content


Photo

RCL syntax


  • Please log in to reply
2 replies to this topic

#1 Daniele

Daniele

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 02 May 2012 - 07:22 AM

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

#2 Molly

Molly

    Moderator

  • Admin
  • PipPipPip
  • 497 posts

Posted 02 May 2012 - 08:26 AM

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

#3 Daniele

Daniele

    Advanced Member

  • Members
  • PipPipPip
  • 50 posts

Posted 03 May 2012 - 08:27 AM

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


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users