- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In the age of too much of everything I dearly like to score more hits then misses with my manufacturer family de-cluttering. I am getting every second family from the same US imperial WALDO 2012 kitchen families and updating to 2019 returning an elementid cannott be deleted. So I am getting the shared parameters within the family like thus...
ElementsToDelete.Add(_doc.FamilyManager.get_Parameter(strDefName).Id);
then deleting using the standard...
foreach (ElementId id in ElementsToDelete)
{
try
{
using (Transaction trans = new Transaction(_doc, "Delete Manufacturer's Bloat"))
{
trans.Start();
_doc.Delete(id);
is there a way of checking if the id can be deleted?
Also it seems that none of the shared aprameters can be deleted in one of the waldo families and then all can be in the next and they are all 2012 families resurrected from their american crypts. (using heaps of dimensions not to reference planes).
Solved! Go to Solution.