AddFub Method (Block Object)

Scope: Schematic editor

Object: Block Object

Prerequisites: None

Adds a functional block (FUB) to the block.

Usage

Block.AddFub(ByVal FubName As String, ByVal LowerLeftx As Long, ByVal LowerLefty As Long, ByVal UpperRightx As Long, ByVal UpperRighty As Long) As IVdComp

Arguments

FubName

Name of the FUB to be instantiated. This string must be unique and not conflict with existing symbol names.

LowerLeftx

X coordinate of the lower left hand corner of the FUB.

LowerLefty

Y coordinate of the lower left hand corner of the FUB.

UpperRightx

X coordinate of the upper right hand corner of the FUB.

UpperRighty

Y coordinate of the upper right hand corner of the FUB.

Return Values

As IVdComp. The newly created FUB in the form of a Component Object.