Imported from the Apple Support Forums via the Wayback Machine 🔗
If you are referring to the new generation iPad Pro 12.9 2018 model and the Apple Folio Keyboard Case, yes you can attach the pen when the iPad is in the case. The iPad attaches magnetically to Apple's Folio case.