Message 1 of 5
Element ID
Not applicable
10-02-2012
08:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anyone please tell me, why this code is not working for Revit 2013 ?
Document^ doc = commandData->Application->ActiveDocument;
ElementId id;
id.Value = 132059;
Autodesk::Revit::Element^ selElement = doc->Element[id];
Selection^ sel = doc->Selection;
sel->Elements->Add(selElement );