Message 1 of 2
How to select only Independent tags and Textnotes from the current document with using PickObjects(ObjectType.Element, new MassSelectionFilter()); method .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can select only independent tags with using given below class but i want to select independent tags and TextNotes.
public class MassSelectionFilter : ISelectionFilter
{
public bool AllowElement(Element element)
{
return element is IndependentTag ;
}
public bool AllowReference(Reference refer, XYZ point)
{
return true;
}
}
with using above method i can able to select only independent tags or Textnotes but i want to select both.