Scope: Schematic editor
Object: Component Object
Prerequisites: None
Returns all instance values (OATs) on the component as an encoded string.
Component.GetBatchOats() As String
None
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).
For Each MyComp In ActiveView.Query(VDM_COMP, VD_ALL) Msg("Instance Value attribute: " & myComp.GetBatchOats()) Next