GetBatchOats Method (Component Object)

Scope: Schematic editor

Object: Component Object

Prerequisites: None

Returns all instance values (OATs) on the component as an encoded string.

Usage

Component.GetBatchOats() As String

Arguments

None

Return Values

As String. The encoded string containing the OATs and their values. The string returned is specially formatted as follows:

Visibility Name=Value<CR>
(repeated for each attribute)

Where Visibility is an integer represented by VdVisibilityFlag Enum and the <CR> represents a carriage return character (ASCII 13).

Examples

For Each MyComp In ActiveView.Query(VDM_COMP, VD_ALL) Msg("Instance Value attribute: " & myComp.GetBatchOats()) Next