The following example processes a Block Model.


# Create a block model

# The variable "rawbm_id" contains the ID of a raw Block Model

# The variable "crs" contains the CRS of the project


result = vf.create_entity_processed(

    project=project,

    type=vf.entity_type.BlockModel,

    name="Block Model",

    fields={

        'source'rawbm_id,

    },

    crs=crs)

if not result.success:

    print(result.error_info)

    exit(5)

bm_id = result.id