Made create part sheet work with amf.