<< Click to Display Table of Contents >> Navigation: Macros > Macro commands and parameters > Macro alteration commands > Macro command DivideSelection |
Purpose:
Divides an attribute of all components within a Selection by a value.
General notation:
DivideSelection( Object( SelectionName ).Attribute , value )
Examples:
Lower all voltage controlled generators within selection with name 'MySelection' reference voltage with 10%:
DivideSelection( SynGen( 'MySelection' ).Uref , 1.1 )
Lower all loads within selection with name 'MySelection' with 5%:
DivideSelection( Load( 'MySelection' ).Pl , 1.05 )
DivideSelection( Load( 'MySelection' ).Ql , 1.05 )
Divide all nodes within selection with name 'MySelection' simultaneousness by 2:
DivideSelection( Node( 'MySelection' ).Simultaneousness , 2 )