Hi Developer,
Although new schema delete API has been replaced, but I can't use this new API for Revit 2022, is there anything wrong? when i use the old function Schema.EraseSchemaAndAllEntities(item.Schema, true), everything works
#if REVIT_2018 || REVIT_2019 || REVIT_2020 || REVIT_2021 || REVIT_2022
Schema.EraseSchemaAndAllEntities(item.Schema, true);
#else
DB.Doc.EraseSchemaAndAllEntities(item.Schema);
#endif
Chuong Ho
Solved! Go to Solution.
Hi Developer,
Although new schema delete API has been replaced, but I can't use this new API for Revit 2022, is there anything wrong? when i use the old function Schema.EraseSchemaAndAllEntities(item.Schema, true), everything works
#if REVIT_2018 || REVIT_2019 || REVIT_2020 || REVIT_2021 || REVIT_2022
Schema.EraseSchemaAndAllEntities(item.Schema, true);
#else
DB.Doc.EraseSchemaAndAllEntities(item.Schema);
#endif
Chuong Ho
Solved! Go to Solution.
Solved by RPTHOMAS108. Go to Solution.
Not heard anything further to issue noted below:
Re: Not able to delete Extensible Storage schema - Autodesk Community - Revit Products
Not heard anything further to issue noted below:
Re: Not able to delete Extensible Storage schema - Autodesk Community - Revit Products
Happy New Year to you both and many thanks to Richard for pointing out the existing thread raising a similar issue. Let's continue discussing the problem there.
Happy New Year to you both and many thanks to Richard for pointing out the existing thread raising a similar issue. Let's continue discussing the problem there.
Thanks so much, I will follow topic it, Happy New Year.
Chuong Ho
Thanks so much, I will follow topic it, Happy New Year.
Chuong Ho
Can't find what you're looking for? Ask the community or share your knowledge.