
Not applicable
02-21-2018
04:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can someone tell me what's wrong with my code. I am able to build it but failed to run. See images :-
UIDocument uidoc = this.ActiveUIDocument;
Document doc = uidoc.Document;
ElementType etype = doc.GetElement(new ElementId(BuiltInCategory.OST_Walls)) as ElementType;
TaskDialog.Show("HKS",uidoc.CanPlaceElementType(etype).ToString());
Solved! Go to Solution.