AutoCAD Block <IvAutoCADBlock>

Synopsis

IvAutoCADBlock adds an AutoCAD block to an Inventor drawing sheet. Like Sketched Symbols, AutoCAD blocks can be rotated and scaled upon insertion. Leader lines can be added and the symbols can be associated with views on a sheet.

Mixins

IvAutoCADBlockModifier

LightweightPart

Parameters

Name Type Description
sheet part Identifies the drawing sheet that the block should be placed in. Defaults to 'Parent'.
definition string (Required) Name of the block definition to insert on to the sheet.
leaderPoints list (Optional) This list contains coordinates, in sheet space, for vertices for a leader line, if such a line is desired. Defaults to empty list (no leader).
libraryDocument string (Optional) Name of a DWG file, where the block is defined. Allows the block definitions to be maintained outside of the drawing templates.
promptStrings list (Optional) Set of attribute values for the block. This is a list of 2-element name/value lists: {{"prompt1", "value1"}, {"prompt2", "value2"}}.
symbolClipping? boolean Controls whether to trim annotations applied to the block. Defaults to True.
symbolOrigin point The origin position of the block (sheet coordinates). Not required (and ignored) if using leaderPoints.
symbolRotation number Defines the rotation in degrees around the insertion point.
symbolScale number Scale factor used to increase or decrease the size of the block. Defaults to 1.0.
symbolStatic? boolean Controls whether to show the scale and rotation grip points on the sketched symbol. Defaults to False.