next up previous contents index
Next: Skeleton Mode Up: Operating System and Input/Output Previous: Conversion Export   Contents   Index

Conversion -- Import

(int) SetConvertFlags(use_window, clip, flatten, no_empties)
This function sets the status of flags used in format conversions. The three arguments correspond to the Use Window, Clip to Window, Flatten Hierarchy, and No Empties buttons in the Conversion pop-up. A nonzero integer value will set the flag, 0 will reset the flag.

The flags will affect conversions initiated from this pop-up, and the FromArchive script function. The data window can be set with the SetConvertArea script function. To apply clipping, both the use_window and clip flags must be set.

This function returns the previous value of the internal variable that contains the flags. The bits are:

flatten 0x1
use_window 0x2
clip 0x4
no_empties 0x8

(int) SetConvertArea(l, b, r, t)
This function sets the rectangular area used to filter or clip objects during format conversions. This rectangle can also be set from the Conversion pop-up. Use of the window can be enabled with the SetConvertFlags script function. The coordinates are in microns, in the coordinate system of the top level cell of the input file, after scaling (if any). The function always returns 1.

(int) SetMergeInRead(state)
This function controls the setting of an internal flag which enables merging of boxes and coincident objects while a file is being read. This flag is set from within Xic in the Conversion - Import panel. If the integer argument is nonzero, the flag will be set. The return value is the previous state of the flag.


next up previous contents index
Next: Skeleton Mode Up: Operating System and Input/Output Previous: Conversion Export   Contents   Index
Stephen R. Whiteley 2006-10-23