ICreator

class ICreator

Bases: ImpactCOMWrapperBase

Description:

Creates useful objects that may be passed as parameters in other methods.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

common_knife_options()
Description:

Creates an ICommonKnifeOptions object to be used with the ILayer.make_common_knife_block method.

count_items_options()
Description:

Creates an ICountItems object to use in IDatabase.count_items or IDatabase.count_layers.

database_report_params()
Description:

Creates an IDatabaseReportParams object

Remarks:

Introduced in Impact 6.4.0.9 and 7.0.0.58.

dimension_options()
Description:

Creates an IDimensionOptions object to be used when creating dimension entities.

Remarks:

Introduced in Impact 10.0.0.70.

drag_params()
Description:

Creates an IDragParams object to be used with the IGUI.drag2 method.

Remarks:

Introduced in Impact 8.0.0.35

drawing_save_options()
Description:

Creates a default options object to use when saving a drawing.

Remarks:

Introduced in 8.0.0.86.

entities(entities)
Description:

Converts a variant array of IEntity objects into an IEntities collection.

Remarks:

Remember arrays are zero based and collections are one based.

Parameters:

entities (any) – Specifies the variant array of IEntity objects to convert.

explode_options()
Description:

Creates an IExplodeOptions object to be used with the IActiveBlock.explode method.

export_options()
Description:

Creates an IExportOptions object, for example to be used with the IDrawing.export2 method

Remarks:

Introduced in Impact 11.0.0.86

find_items_options()
Description:

Creates an IFindItemsOptions object to use in IDatabase.find_items or IDatabase.find_layers.

graphic_options()
Description:

Creates an IGraphicOptions object to be used with the IActiveBlock.graphic method.

hatcher()
Description:

Creates an IHatcher object, for generating a hatch pattern within a defined area.

Remarks:

Once you have the IHatcher object, you can set its properties and then use its Perform method. Introduced in Impact 8.0.0.74

hole_finder()
Description:

Creates an IHoleFinder object, for generating a “hole” (similar to a path) around a defined area.

Remarks:

Once you have the IHoleFinder object, you can set its properties and then use its Perform method. Introduced in Impact 8.0.0.74

image_format_params()
Description:

Creates an IImageFormatParams object which can be used with the various methods that create images.

layout_options()
Description:

Creates an ILayoutOptions object to be used with the ILayer.layout method.

layout_results()
Description:

Creates an ILayoutResults object to be used with the ITools.layout method.

lookup_parameters()
Description:

Creates an ILookupParameters object to be used when making a database lookup.

lookup_project_and_layer_keys_from_value_params()
Description:

Creates an ILookupProjectAndLayerKeysFromValueParams object to use in IDatabase.lookup_project_and_layer_keys_from_value.

master_tool_settings_folder_translations_params()
Description:

Creates an IMasterToolSettingsFolderTranslationsParams to be used with the IDatabase.master_tool_settings_folder_translations method.

Remarks:

Introduced in Impact 8.0.0.52

matrix()
Description:

Creates an IMatrix object, for use with entity transformations.

Remarks:

Introduced in Impact 7.0.0.31.

path_finder()
Description:

Creates an IPathFinder object, for generating a path along a sequence of entities.

Remarks:

Once you have the IPathFinder object, you can set its properties and then use its Perform method. Introduced in Impact 8.0.0.74

pdf_utilities()
Description:

Creates an IPDFUtilities object.

Remarks:

introduced in Impact 11.1.0.10 and 12.0.0.74

plot_options()
Description:

Creates an IPlotOptions object to be used with the ITools.plot method.

post_script_image_options()
Description:

Creates an IPostScriptImageOptions object to be used with the IGraphicImages.load_from_file method.

print_options()
Description:

Creates an IPrintOptions object.

project_and_layer_filter_options()
Description:

Creates an IProjectAndLayerFilterOptions object to use in IDatabase.project_and_layer_filter_options.

rebridge_options()
Description:

Creates an IRebridgeOptions object to be used with the IActiveBlock.rebridge method.

rect(left, bottom, right, top)
Description:

Creates an IRect object.

Parameters:
  • left (float) – Specifies the left position of the new rect, if this value is not supplied the position will be zero.

  • bottom (float) – Specifies the bottom position of the new rect, if this value is not supplied the position will be zero.

  • right (float) – Specifies the right position of the new rect, if this value is not supplied the position will be zero.

  • top (float) – Specifies the top position of the new rect, if this value is not supplied the position will be zero.

row_count_options()
Description:

Creates an IRowCountOptions object to be used when counting database rows.

Remarks:

Introduced in Impact 9.0.0.42.

rowset_options()
Description:

Creates an IRowsetOptions object to be used when extracting rowset data from the database.

Remarks:

Introduced in Impact 9.0.0.42.

save_image_params()
Description:

Creates an ISaveImageParams object to be used when saving an image.

Remarks:

This object is used by several methods, including IDrawing.save_drawing_as_image and ILayer.save_layer_as_image. Introduced in Impact 8.0.0.47

shape_creator()
Description:

Creates a IShapeCreator object, used to generate IShape objects.

Remarks:

Introduced in Impact 8.0.0.66

Returns:

The new shape creator object.

smooth_options()
Description:

Creates an ISmoothOptions object to be used with the IActiveBlock.smooth method.

sql_filter_condition()
Description:

Creates an ISQLFilterCondition object to be used with certain database search methods.

Remarks:

Introduced in Impact 7.0.0.34.

stream()
Description:

Creates a new IStream object that can be used to pass data to some functions.

Remarks:

The object created by this function cannot be used in VBScript.

three_d()
Description:

Creates an i3_d_creator object.

Remarks:

Introduced in Impact 11.0.0.39.

unit_settings()
Description:

Creates a new IUnitSettings object that can be used with the IConvertor.unit_settings property.

Remarks:

Introduced in Impact 5.1.4.21.

vector(x, y)
Description:

Creates an IVector object.

Parameters:
  • x (float) – Specifies the X coordinate of the new vector, if this value is not supplied the X coordinate will be zero.

  • y (float) – Specifies the Y coordinate of the new vector, if this value is not supplied the Y coordinate will be zero.

vector_at_angle(angle, length, mode)
Description:

Creates an IVector object at an angle.

Parameters:
  • angle (float) – Specifies the angle of the vector.

  • length (float) – Specifies the length.

  • mode (ipLengthMode) – Specifies the mode to use.