Message 1 of 7

Not applicable
03-17-2021
09:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello , i want to create a function that count the number of layer in my current file .
tr.GetObject(db.LayerTableId, OpenMode.ForRead) as LayerTable;
string num = no_folio.ToString();
foreach(var clq in calques)
{
LayerTableRecord clqr = tr.GetObject(clq,OpenMode.ForRead) as LayerTableRecord;
}
but i don't know ,how i can count the number of layer or get the number of layer.
thanks a lot 🙂
Solved! Go to Solution.