0% found this document useful (0 votes)
44 views3 pages

Macro Start

The document contains instructions for modifying geological models using Geovia Surpac software. It includes commands to copy and modify files, extract subsets of data, calculate statistics, optimize block models, and add models together. The overall purpose is to refine and combine block models of mineral resources.

Uploaded by

julius dwomoh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views3 pages

Macro Start

The document contains instructions for modifying geological models using Geovia Surpac software. It includes commands to copy and modify files, extract subsets of data, calculate statistics, optimize block models, and add models together. The overall purpose is to refine and combine block models of mineral resources.

Uploaded by

julius dwomoh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

!START 1.

# - Use !LOCDBOFF to look for files outside the local folder

# - Use local files by deleting the next line or use !LOCDBON

!LOCDBOFF

!COPY &IN(b2_rm_oct20),&OUT(B10_RM_JUN22_dep),

MINED=0.0

!START 2.

# - Use !LOCDBOFF to look for files outside the local folder

# - Use local files by deleting the next line or use !LOCDBON

!LOCDBOFF

!EXTRA &IN(b2_rm_oct20),&OUT(x1),@APPROX=0.0

erase(AU,CLASSF,DENSITY,DOMAIN,LODE)

GO

!COPY &IN(x1),&OUT(x1a),MINED>0.5<+

!EXTRA &IN(x1a),&OUT(x1b),@APPROX=0.0

IF(MINED>0.5) MINED=1 END

GO

!EXTRA &IN(x1b),&OUT(x1c),@APPROX=0.0

VOL=XINC*YINC*ZINC

IF(VOL<0.027)

DELETE()

END

GO
!STATS &IN(x1c),&OUT(stats),*F1(VOL),@KEYSORT=1.0,@PCNTILES=0.0,

@SORTOUT=1.0

!EXTRA &IN(x1c),&OUT(x1d),@APPROX=0.0

erase(VOL)

GO

!PROMOD &IN(x1d),&OUT(x1e),*KEY1(MINED),@DENSITY=1.0,@OVERLAP=0.0,

@OPTIMISE=2.0,@TOL=0.001,@ACCURACY=0.001

!EXTRA &IN(b2_rm_oct20),&OUT(x2),@APPROX=0.0

MINED=0

GO

!EXTRA &IN(x2),&OUT(x2a),@APPROX=0.0

erase(DOMAIN,LODE)

GO

!PROMOD &IN(x2a),&OUT(x2b),*KEY1(AU),*KEY2(CLASSF),*KEY3(DENSITY),

@DENSITY=1.0,@OVERLAP=0.0,@OPTIMISE=2.0,@TOL=0.001,

@ACCURACY=0.001

!ADDMOD &IN1(x2b),&IN2(x1e),&OUT(x3),@TOLERNCE=0.001

!PROMOD &IN(x3),&OUT(x3a),*KEY1(AU),

*KEY2(CLASSF),*KEY3(DENSITY),*KEY4(MINED),@DENSITY=1.0,

@OVERLAP=0.0,@OPTIMISE=2.0,@TOL=0.001,@ACCURACY=0.001

!START 3.

# - Use !LOCDBOFF to look for files outside the local folder


# - Use local files by deleting the next line or use !LOCDBON

!LOCDBOFF

!EXTRA &IN(x3a),&OUT(b2_mined_mso_opt),@APPROX=0.0

IF(MINED>0.5) AU=0.00001

END

GO

!END

You might also like