NAME

GetAspectPP

Find out if there is an Occidental aspect between two planets.

USAGE

GetAspectPP np1 np2

PARAMETERS

np1 : number of the first planet

np2 : number of the second planet

OPTIONS

none

RETURN

If an aspect is found, will return a list having the following item
item0: the name of the aspect
item1: the value of the aspect in degrees
item2: the orb of the aspect in degrees
item3: the value of the angle between np1 and np2 in degrees

If no aspect is found, return an empty list

Remarks:
- order for np1 and np2 doesn't matter.
- np1 and np2 must not be the same.
- an horoscope must be active when calling the function.

EXAMPLE


# Open here the horoscope for Agatha Christie 
SetCurrentHoroscope

PutTxt "---Checking aspects for [FirstName] [Name]---"

for { set p1 0 } { $p1 < 18 } { incr p1 } {
 for { set p2 [expr $p1 + 1 ] } { $p2 < 18 } { incr p2 } {
  
  set list [GetAspectPP $p1 $p2]
  
  if { [ llength $list] != 0 } {
     PutTxt "---Aspect found between [NameOfPlanet $p1] and [NameOfPlanet $p2]"	
	 PutTxt "Name: [lindex $list 0]" 
	 PutTxt "Value: [lindex $list 1]"
	 PutTxt "Orb: [lindex $list 2]"
	 PutTxt "Diff between planets: [lindex $list 3]"
   }
 }
}

PutTxt "------"

Output

---Checking aspects for Agatha Christie---
---Aspect found between Soleil and Mars
Name: Carré
Value: 90.0
Orb: 4.0
Diff between planets: 92.43758043275386
---Aspect found between Soleil and MC
Name: Trigone
Value: 120.0
Orb: 4.0
Diff between planets: 119.27839618786263
---Aspect found between Soleil and Rahu
Name: Carré
Value: 90.0
Orb: 4.0
Diff between planets: 93.32851644517842
---Aspect found between Soleil and Kethu
Name: Carré
Value: 90.0
Orb: 4.0
Diff between planets: 86.67148355482163
---Aspect found between Soleil and Arudha
Name: Conjonction
Value: 0.0
Orb: 10.0
Diff between planets: 8.90230988168688
---Aspect found between Lune and Jupiter
Name: Trigone
Value: 120.0
Orb: 4.0
Diff between planets: 120.89824388684484
---Aspect found between Mercure and Rahu
Name: Trigone
Value: 120.0
Orb: 4.0
Diff between planets: 116.23648188037056

...

The name are in French but are displayed in English with the English version of Proastro.