Block Object

This object represents a single sheet of a schematic or symbol.

The following table lists methods and properties of the Block object with links to the respective reference pages.

Table 1. Block Object Methods and Properties

Method or Property

Description

AddArc Method (Block Object)Adds an arc to the block.
AddAttribute Method (Block Object)Adds an unattached attribute to the block.
AddBatchAttributes Method (Block Object)Adds multiple unattached attributes on the active block as an encoded string.
AddBox Method (Block Object)Creates a Box Object within the block.
AddCircle Method (Block Object)Adds a circle to the block.
AddFub Method (Block Object)Adds a functional block (FUB) to the block.
AddLine Method (Block Object)Adds a line to the block.
AddLine2 Method (Block Object)Adds a line to the block.
AddNet Method (Block Object)Adds a net to the block.
AddNetEx Method (Block Object)Adds a net to the block.
AddPartInstance Method (Block Object)Adds a part instance to the block.
AddPin Method (Block Object)Adds a pin to a symbol block.
AddPinAtLocation Method (Block Object)Adds a pin to a symbol block.
AddSymbolInstance Method (Block Object)Adds a symbol instance to the block.
AddText Method (Block Object)Adds annotation text string.
ApplySymbolUpdate Method (Block Object)Updates components with changes from their symbols.
ChangeBorder Method (Block Object)Changes from one border symbol to another on a schematic.
ChangeComponent Method (Block Object)Exchanges one or more components with a different component.
ChangeComponentPreserveRefdes Method (Block Object)Exchanges one or more components with a different component and preserves the REFDES.
ClearHighlight Method (Block Object)Marks components as current and clears the highlight.
DeleteBorder Method (Block Object)Deletes a border symbol from a schematic. The border need not be selected, although it can be.
DeleteSelected Method (Block Object)Deletes all currently selected objects.
DeSelectAll Method (Block Object)Clears selection of all objects on this block.
FindAttribute Method (Block Object)Searches for an attribute by its name.
GetBatchAttributes Method (Block Object)Returns the unattached attributes on the currently active block as an encoded string.
GetBboxPoint Method (Block Object)Returns the location of a specified corner of a bounding box.
GetChildBlock Method (Block Object)Allows access to the child block object.
GetName Method (Block Object)Returns the hierarchical path to the active view in the current block.
InsertBorder Method (Block Object)Inserts a border symbol onto a schematic.
PromoteSymbolNumbers Method (Block Object)Updates components with pin number changes from their symbols.
RepositionAttributesAsOnSymbol Method (Block Object)Updates components with position changes from the symbol.
SetZSheetSize Method (Block Object)Specifies width and height for Z sized blocks.
UpdateBorder Method (Block Object)Updates attribute values on a border symbol.
Application Property (Block Object)Returns the Application Object.
Attributes Property (Block Object)Returns a collection of Attribute Objects for the block.
DataType Property (Block Object)Returns a value that relates whether the block is a schematic or a symbol.
IsFub Property (Block Object)Returns a value that indicates whether the block is a functional block (FUB) or not.
LibraryName Property (Block Object)Returns the library alias assigned to this block.
OpenMode Property (Block Object)Returns a value that indicates how the Block was opened.
Parent Property (Block Object)Returns the parent View Object of the block.
SheetNum Property (Block Object)Returns the page number of the block.
SheetSize Property (Block Object)Returns or sets the block drawing sheet size.
SymbolType Property (Block Object)Returns or sets the symbol type used for the block.
Type Property (Block Object)Returns the type for the block.