Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi ,
I get list of elements Ids thin I make Isolation and it's work ,But when I Exit From The Add-in The Isolation or any Changes Disappeared
What is The Problem
and Thx.
List<ElementId> Ids= new<ElementId>;
using (Transaction ss = new Transaction(Doc))
{
try
{
ss.Start("Start");
List<Element> elements = CategoryFilter();
foreach (Element Elem in elements)
{
Ids.Add(Elem.Id);
}
UiDoc.ActiveView.IsolateElementsTemporary(ids);
ss.Commit();
}
catch
{
ss.RollBack();
}
}
Solved! Go to Solution.