- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
is here a way to persistently highlight elements, or at least create loadable selection set? i.e. Manage > Selection > Load Selection
for instance, API's fail or cancel will highlight related elements, but it's not persistent.
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
foreach (Element e in new FilteredElementCollector(commandData.Application.ActiveUIDocument.Document).OfClass(typeof(Wall)))
elements.Insert(e);
message = "whatever";
//return Result.Succeeded;
//return Result.Failed;
return Result.Cancelled;
}
is it doable w/o using extra dialogbox?
or is it possible to create loadable selection set using API?
what i want to achieve is creating Dynamo node based on API's dll using zero touch method, not good at Python yet so don't know if it's doable using Python, but if Python can work then C# API should work too, below are links for similar request.
http://www.revitforum.org/dynamo-bim/27507-creating-selection-set.html
http://www.revitforum.org/dynamo-bim/27550-create-selection-set.html
Solved! Go to Solution.