Matt is absolutely right, as always.
Here are some additional ideas, just skimming the help for for 'exterior':
The door host is normally a wall.
You can find out all kind of things from the wall.
Here are some of them, from more complex aspects via energy analysis to the super simple wall side enumeration property, which is probably the easiest thing to go for:
ConstructionType Enumeration
- ExteriorWall An exterior wall surrounding the space
- InteriorWall An interior wall surrounding the space
EnergyAnalysisSurface SurfaceName Property
- E = Exposure - exterior/interior/underground [E/I/U].
WallFunction Enumeration
- Interior An interior wall.
- Exterior An exterior wall.
- Foundation A foundation wall.
- Retaining A retaining wall.
- Soffit A soffit wall.
- Coreshaft A coreshaft wall.
WallSide Enumeration
- Exterior The exterior of the wall.
- Interior The interior of the wall.
Here are some discussions on The Building Coder going into more detail:
Be aware that some of these properties depend on correct modelling.
The user can create a crappy model and nothing will work.