[Artwork] / [QisMLib] / [Programmer's Corner]

QisMLib Script Commands

QisMLib Script CommandsConsole (qismscript64.exe) commands usage.requiredusage.optionusage.infosleepassertaskifsystemcommandsexitBasic (QisMScript) commands script.procedurescript.end_procedurescript.callscript.pushscript.popscript.requiredscript.ifscript.setscript.setifscript.ifsetscript.substrscript.tokenizescript.branchscript.foreachscript.convertscript.renamescript.make_idscript.num_cpusscript.file_namescript.new_window_setscript.delete_window_setscript.window_set_to_filescript.window_set_to_stringscript.print_varsQisMLib Commandslib.load_filelib.load_gds_with_mmapslib.unload_fileQisMFile commandsfile.print_reportfile.get_default_cellfile.print_cellsfile.print_top_cellsfile.print_child_cellsfile.get_cell_extentsfile.print_layersfile.print_cell_tree file.save_memory_mapsfile.create_exploderfile.destroy_exploderQisMExploder commandsexploder.set_viewexploder.get_boundariesexploder.delete_storeexploder.write_texts_to_fileexploder.write_srefs_to_fileexploder.write_arefs_to_fileQisMBStore commandsstore.print_infostore.write_as_polysstore.write_as_imageQisMDraw commandsdraw.imageQisMBool Commandsbool.create_instancebool.destroy_instancebool.create_settingsbool.destroy_settingsboolsettings.setboolinst.unionboolinst.binaryboolinst.delete_storeQisMExplCounter commandsexplcounter.break_window_by_crossingexplcounter.break_window_by_vertnumexplcounter.delete_windowsQisMWindowProbe commandsprobe.windowQisMCADWriter Commandscadwriter.open cadwriter.begin_cellcadwriter.boxcadwriter.box_setcadwriter.bstore cadwriter.boundarycadwriter.pathcadwriter.circlecadwriter.referencecadwriter.end_cellcadwriter.closeQisMRaster Commandsraster.create_rasterizerraster.destroy_rasterizerraster.create_paramsraster.destroy_paramsraster.windowraster.px_windowraster.polysraster.overlay_polysraster.synthesizedraster.create_pns_v2_specraster.destroy_pns_v2_specraster.window_pns_v2raster.format_imageraster.queue_mtraster.large_disk_imageraster.get_dpiraster.get_pixelsizeraster.compute_buf_szraster.compute_tile_szQisMLOA Commandsloa.create_ann_setloa.destroy_ann_setloa.add_ann_bitmaploa.add_ann_textloa.create_ann_set_from_fileloaset.to_fileloa.merge_ann_with_dbQisMCorrX Commandscorrx.create_affineaffine.setaffine.transformaffine.transform_bstorecorrx.destroy_affinecorrx.create_optscorrx.destroy_optscorrx.create_corrx_objcorrx.destroy_corrx_objcorrxobj.correct_viewcorrxobj.correct_polyscorrxobj.delete_storecorrxobj.print_corrected_extentscorrxobj.correct_window_extentscorrxobj.correctcorrxobj.correct_bstorecorrxobj.rasterize_windowcorrx.mirror_viewcorrx.shear_viewcorrx.rotate_viewcorrx.scale_viewcorrx.generate_ptsQisMOdbPS Commandsodbps.loadodbps.unloadQisMOdbScan Commandsodbscan.scanodbscan.destroy_resultsodbscan.generate_reportodbscan.print_step_treeodbscan.print_default_top_stepodbscan.print_top_stepsodbscan.print_stepsodbscan.print_step_tree_depthodbscan.print_step_childrenodbscan.print_step_all_descendantsodbscan.print_step_layersodbscan.print_step_all_layersodbscan.print_layersodbscan.print_layer_typeodbscan.print_layer_contextodbscan.print_profile_extentsQisMGbrPS commandsgbrpsfile.print_metagbrpsfile.save_gdsgbrps.unloadgbrps.loadQisMSnPUtil Commandssnputil.create_explodersnputil.destroy_explodersnpexploder.get_boundariessnpexploder.destroy_storesnputil.unionize_to_fileQisMHextract Commandshextract.create_extractorhextract.destroy_extractorhextract.create_optshextract.destroy_optshextract.create_regionshextractregions.addhextract.destroy_regionshextractor.extract_to_writerhextractor.extract_to_filehextract.create_dbhextractfile.save_ashextract.destroy_dbhextract.select_dbuQisMRTCR commandsrtcr.create_optsrtcr.destroy_optsrtcr.create_correctionsrtcr.destroy_correctionsrtcr.create_annotationsrtcrannotations.addrtcr.destroy_annotationsrtcr.setup_jobrtcr.end_jobrtcrjob.create_rasterizerrtcrjob.get_raster_imagertcrjob.destroy_rasterizerQisMMRtcr Commandsmrtcr.scan_infomrtcr.new_optsmrtcr.delete_optsmrtcr.new_imagemrtcr.delete_imagemrtcr.clear_imagemrtcr.generate_scanQisMLayerSynth commandslsynth.new_synthesizerlsynth.delete_synthesizerlsynth.synthesize_layerslsynth.delete_storeQisMBoolFiles commandstwofiles.xorQisMClipExtract commandsclip.extract_imagesclip.extract_polygonsclip.extract_lsynth

Console (qismscript64.exe) commands

These commands are only applicable when using the scripting console (qismscript64.exe) to execute scripts or commands

usage.required

usage.option

usage.info

sleep

assert

askif

system

commands

exit

Basic (QisMScript) commands

Various utility commands that aid in the development of a script Available to all applications using the QisMLib system with scripting enabled

script.procedure

script.end_procedure

script.call

script.push

script.pop

script.required

script.if

script.set

script.setif

script.ifset

script.substr

script.tokenize

script.branch

script.foreach

script.convert

script.rename

script.make_id

script.num_cpus

script.file_name

script.new_window_set

script.delete_window_set

script.window_set_to_file

script.window_set_to_string

script.print_vars

QisMLib Commands

See qismlib.h for the relevant C++ API

lib.load_file

lib.load_gds_with_mmaps

lib.unload_file

QisMFile commands

See qismfile.h for relevant C++ API

file.print_report

file.get_default_cell

file.print_cells

file.print_top_cells

file.print_child_cells

file.get_cell_extents

file.print_layers

file.print_cell_tree

file.save_memory_maps

file.create_exploder

file.destroy_exploder

QisMExploder commands

exploder.set_view

exploder.get_boundaries

exploder.delete_store

exploder.write_texts_to_file

exploder.write_srefs_to_file

exploder.write_arefs_to_file

QisMBStore commands

See qismbstore.h for relevant API

store.print_info

store.write_as_polys

store.write_as_image

QisMDraw commands

See qismdraw.h for the corresponding C++ API

draw.image

QisMBool Commands

See qismbool.h for the relevant C++ API

bool.create_instance

bool.destroy_instance

bool.create_settings

bool.destroy_settings

boolsettings.set

boolinst.union

boolinst.binary

boolinst.delete_store

QisMExplCounter commands

See qismexplcounter.h for the relevant C++ API

explcounter.break_window_by_crossing

explcounter.break_window_by_vertnum

explcounter.delete_windows

QisMWindowProbe commands

See qismwindowprobe.h for relevant C++ API

probe.window

QisMCADWriter Commands

cadwriter.open

cadwriter.begin_cell

cadwriter.box

cadwriter.box_set

cadwriter.bstore

cadwriter.boundary

cadwriter.path

cadwriter.circle

cadwriter.reference

cadwriter.end_cell

cadwriter.close

QisMRaster Commands

raster.create_rasterizer

raster.destroy_rasterizer

raster.destroy_rasterizer $rstr={rstr_id}

raster.create_params

raster.destroy_params

raster.destroy_params $params={params_id}

raster.window

raster.px_window

raster.polys

raster.overlay_polys

raster.overlay_polys $rstr={rstr_id} $bin={bin_id} [mode={PAINT | SCRATCH | DITHER}]

raster.synthesized

raster.create_pns_v2_spec

raster.destroy_pns_v2_spec

raster.window_pns_v2

raster.format_image

raster.queue_mt

raster.large_disk_image

raster.get_dpi

raster.get_pixelsize

raster.get_dpi pixelsize={x}[,{y}] [units_m={units_in_meter}] [&var={var_id}] raster.get_pixelsize dpi={x}[,{y}] [units_m={units_in_meter}] [&var={var_id}]

raster.compute_buf_sz

raster.compute_tile_sz

QisMLOA Commands

QisMScript Commands to define and add rich annotations (texts, bitmaps) to CAD data

loa.create_ann_set

Create a new annotation set and associates it with a script variable name {id} of type QisMLOAset*

loa.destroy_ann_set

Destroys an annotation set represented by the script variable named {id} of type QisMLOAset*

loa.add_ann_bitmap

Add a bitmap based annotation item to the set

loa.add_ann_text

Add a text string based annotation to the set

loa.create_ann_set_from_file

Create an annotation set from a file in an internal Artwork format (SFGen)

loaset.to_file

Generate a GDSII file from the annotation set

loa.merge_ann_with_db

Merge annotation set with the specified db and create a new CAD file on disk

QisMCorrX Commands

QisMScript Commands to compute 2D affine and bi-linear transformations on CAD data

corrx.create_affine

Create a new affine transformation object

affine.set

Add transformations to the affine object

affine.transform

Apply affine transformation to a set of points

affine.transform_bstore

Apply affine transformation to a set of boundaries

corrx.destroy_affine

Destroy an affine object

corrx.create_opts

Create a settings object for use with corrx.create_corrx_obj

corrx.destroy_opts

Destroy a settings object

corrx.create_corrx_obj

Create a new instance of the correction object

corrx.destroy_corrx_obj

Destroy an existing correction object

corrxobj.correct_view

Fetch and correct boundaries from a view of the database

corrxobj.correct_polys

Correct a set of polygons

corrxobj.delete_store

Destroy a container of corrected boundaries

$bin={bin_id} is the name associated by the container to be destroyed that was created using appropriate commands of this module

corrxobj.print_corrected_extents

Print the corrected extents of the entire space associated with this correction object

corrxobj.correct_window_extents

Correct a window (manhattan rectangle)

corrxobj.correct

Correct a list of points

corrxobj.correct_bstore

Correct a container of boundaries

corrxobj.rasterize_window

Correct and rasterize a view of the database

corrx.mirror_view

Compute reflection as a set of correction points

corrx.shear_view

Compute shear as a set of correction points

corrx.rotate_view

Compute rotation as a set of correction points

corrx.scale_view

Compute scaling as a set of correction points

corrx.generate_pts

Generate a set of pseudo-random correction points based on a given set of constraints

QisMOdbPS Commands

QisMScript Commands to -- Create a spatial paint&scratch database from ODB++ files

odbps.load

odbps.unload

QisMOdbScan Commands

QisMScript Commands to retrieve ODB file information about stepnames, layers, and structure

odbscan.scan

odbscan.destroy_results

odbscan.generate_report

odbscan.print_step_tree

odbscan.print_default_top_step

odbscan.print_top_steps

odbscan.print_steps

odbscan.print_step_tree_depth

odbscan.print_step_children

odbscan.print_step_all_descendants

odbscan.print_step_layers

odbscan.print_step_all_layers

odbscan.print_layers

odbscan.print_layer_type

odbscan.print_layer_context

odbscan.print_profile_extents

QisMGbrPS commands

QisMScript commands to create a database from a Gerber (RS274X) file

gbrpsfile.print_meta

Print meta-information about the Gerber from which a db was created

gbrpsfile.save_gds

Save a GerberPS db as GDSII

gbrps.unload

gbrps.load

Create a GerberPS (paint & scratch) db from a Gerber file

QisMSnPUtil Commands

snputil.create_exploder

snputil.destroy_exploder

snpexploder.get_boundaries

snpexploder.destroy_store

snputil.unionize_to_file

QisMHextract Commands

hextract.create_extractor

hextract.destroy_extractor

hextract.create_opts

hextract.destroy_opts

hextract.create_regions

hextractregions.add

hextract.destroy_regions

hextractor.extract_to_writer

hextractor.extract_to_file

hextract.create_db

hextractfile.save_as

hextract.destroy_db

hextract.select_dbu

QisMRTCR commands

rtcr.create_opts

rtcr.destroy_opts

rtcr.create_corrections

rtcr.destroy_corrections

rtcr.create_annotations

rtcrannotations.add

rtcr.destroy_annotations

rtcr.setup_job

rtcr.end_job

rtcrjob.create_rasterizer

rtcrjob.get_raster_image

rtcrjob.destroy_rasterizer

QisMMRtcr Commands

Commands to use the QisMMRtcr extension within the QisMLib scripting system

mrtcr.scan_info

mrtcr.new_opts

mrtcr.delete_opts

mrtcr.new_image

mrtcr.delete_image

mrtcr.clear_image

mrtcr.generate_scan

QisMLayerSynth commands

lsynth.new_synthesizer

lsynth.delete_synthesizer

lsynth.synthesize_layers

lsynth.delete_store

QisMBoolFiles commands

twofiles.xor

QisMClipExtract commands

clip.extract_images

clip.extract_polygons

clip.extract_lsynth


ARTWORK CONVERSION SOFTWARE, INC.
417 Ingalls St. Unit C, Santa Cruz, CA 95060 831.426.6163  email: info@artwork.com