<< Click to Display Table of Contents >> Navigation: Macros > Macro commands and parameters > Macro alteration commands > Macro command SetSelection |
Purpose:
Assigns a value to an attribute of all components within a Selection.
General notation:
SetSelection( Object( SelectionName ).Attribute , value )
Examples:
Turn all generators within selection 'MySelection' off:
SetSelection( SynGen( 'MySelection' ).Switch , Open )
SetSelection( AsynGen( 'MySelection' ).Switch , Open )
Change for all nodes within selection 'MySelection' the simultaneousness for loads into 1:
SetSelection( Node( 'MySelection' ).Simultaneousness , 1 )