These functions implement a functionality similar to the !assemble command. Unlike !assemble, it is possible to set input conversion modes on the individual files.
CGX | .cgx |
CIF | .cif |
GDSII | .gds, .str, .strm, .stream |
OASIS | .oas |
If successful, a handle to the stream control structure is returned, which can be passed to other functions which require this data type. A scalar zero is returned on error. The returned handle is used to implement merging of archive data similar to the !assemble command.
The function returns one on success, zero otherwise with an error message probably available through GetError.
The x,y are the translation coordinates of the cell origin. The my is a flag indicating Y-reflection before rotation. The ang is the rotation angle, in degrees, and must be a multiple of 45 degrees. The magn is the scale factor for the cell.
At least one instance must be specified to a source supplied as a context description. A source must have been specified before this function can be called successfully.
The remaining arguments are ignored unless the extraction flag is set in the source. When extracting, a context structure is built for the source, which enables the operations to which these arguments pertain.
array[0] | X left |
array[1] | Y bottom |
array[2] | X right |
array[3] | Y top |
If an array is given, only the objects and subcells needed to render the window will be written. This window should be equal to or contained in the window used to configure the context, if any.
The function returns one on success, zero otherwise with an error message probably available through GetError.