PromptEntityOptions.AddAllowedClass Method
This method adds type to the internal list of classes allowed for the selection. If exactMatch is true, then only objects of the exact class type are allowed. Otherwise, objects of the specified type and of any derived types are allowed.
If type is already in the class list, the value of exactMatch is applied to the existing class entry.
1. Fatal Error или всё-таки Exception?Если бы было Exception, то я бы и писал "Exception".
2. Вызови SetRejectMessage перед AddAllowedClassСпасибо, это помогло.
Если бы было Exception, то я бы и писал "Exception".Именно в 2009-ом я не проверял, а в более свежих (если не изменяет память) Exception eInvalidInput