DRC Object

This command offers Mafia DRC file export in a xyz coordinate system.

Methods

Reset

Resets the import options to the default.

 

FileName ( filename filename )

Sets a name of the exported file.

 

Precision ( enum precision )

Specify the precision of which the data shall be written to the exported file. If you specify single precision, the extension of the file name will be taken as ”.drc”. Setting this option to double precision will imply the file extension ”.drd”.

 

precision can have one of  the following values:

"single"

Single precision mafia file

"double"

Double precision mafia file

 

Platform ( enum platform )

Specify whether the mafia file should be exported for a Windows PC or a Unix system.

 

platform can have one of  the following values:

"pc"

Windows PC

"unix"

Unix PC or Unix workstation

 

IncludePBA ( bool switch )

This option is used for internal testing only.

 

Write

Performs the export.

Default Settings

FileName ("")

IncludePBA (False)

Precision ("single")

Platform ("pc")

Example

With DRC

    .Reset

    .FileName (".\example.drc")

    .Precision ("single")

    .Platform ("pc")

    .Write

End With