.NET training labs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hey all. i'll be frequenting regularly this forum from now on. asking all kinds of dumb questions.
like:
who made the these training labs? http://images.autodesk.com/adsk/files/autocad_net_training0.zip
im having trouble with lab6
an editor.PointMonitor event triggers this sub routine called myPointMonitor
-the lab then declare a FullSubentityPath variable = e.Context.GetPickedEntities()
and checks IF (fullEntPath.Length) Then
should their not be an argument here?
i get " out of bound of array " here. and the IF statement is never executed.
if anyone can assist id appreciate it.
bare in mind i'm new to the autocad api and have only indermediate exprience with vb.net
edit: sry the IF is executed but encounters the exception @
Dim ent As Curve = trans.GetObject(fullEntPath(0).GetObjectIds(0), OpenMode.ForRead)