if it threw the code for that, then more then likely thats the part you need to change.
I tried to search Realoem.com for the part, but cannot find it. The e46 is fly by wire, so theres no throttle cable, so a thorttle position sensor..would almost seem pointless since its all intergrated in the electronics.
BUT.....anyone else?
__________________
We all get the urge...Saturday early morning...nothing to do till noon...

BMW FTW

The aural sensations of 1st gear WOT
**CGM **(Certified Garage Mechanic)