Workflow scripts are derived from the Autodesk.Map.IM.Workflows.ScriptClass abstract class. By using the Me object in the script, you can gain access to the many base objects and useful functions provided by ScriptClass.
The following are the objects provided by the Me object. With these you can access all of the main features of the AutoCAD Map 3D environment and document data:
The following is an example using the Me object:
' Digitize a new pipe and then display a message box with
' the feature ID of the newly created feature.
Me.Digitize("DEMO_PIPE")
Me.MessageBox(Me.Features.ListItem(0).Attributes.Item("FID").Value)
The following are some of the useful methods provided by the Me object: