NAME

GetAspectPH

Find out if there is an Occidental aspect between a planet and a house.

USAGE

GetAspectPH np nh

PARAMETERS

np : number of the planet

nh : number of the second planet, from 1 to 12

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 np and nh in degrees

If no aspect is found, return an empty list

Remarks:
- an horoscope must be active when calling the function. the SHSD flag is taking in account for the number of the house

EXAMPLE


# Open here the horoscope for Agatha Christie 
SetCurrentHoroscope

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

for { set p 0 } { $p < 18 } { incr p } {
 for { set h 1 } { $h < 13 } { incr h } {
  
  set list [GetAspectPH $p $h]
  
  if { [ llength $list] != 0 } {
     PutTxt "---Aspect found between [NameOfPlanet $p] and house $h"	
	 PutTxt "Name: [lindex $list 0]" 
	 PutTxt "Value: [lindex $list 1]"
	 PutTxt "Orb: [lindex $list 2]"
	 PutTxt "Diff between planet and house: [lindex $list 3]"
   }
 }
}

PutTxt "------"


Output

--Checking aspects on houses for Agatha Christie---
---Aspect found between Soleil and house 2
Name: Conjonction
Value: 0.0
Orb: 10.0
Diff between planet and house: 9.929995501953504
---Aspect found between Soleil and house 4
Name: Sextile
Value: 60.0
Orb: 4.0
Diff between planet and house: 60.72160381213745
---Aspect found between Soleil and house 5
Name: Carré
Value: 90.0
Orb: 4.0
Diff between planet and house: 89.54544846374573
---Aspect found between Soleil and house 10
Name: Trigone
Value: 120.0
Orb: 4.0
Diff between planet and house: 119.27839618786263
---Aspect found between Soleil and house 11
Name: Carré
Value: 90.0
Orb: 4.0
Diff between planet and house: 90.45455153625423
---Aspect found between Lune and house 2
Name: Conjonction
Value: 0.0
Orb: 10.0
Diff between planet and house: 4.895855085148957
---Aspect found between Lune and house 8
Name: Opposition
Value: 180.0
Orb: 5.0
Diff between planet and house: 175.10414491485105

...

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