It almost does -- it defaults to a square fence where I want them to choose different points to get a polygon in the end. However, when I do the following code I don't get anything.
private void cmbBoundTo_SelectedIndexChanged(object sender, EventArgs e)
{
if (cmbBoundTo.SelectedItem.ToString() == "Fence")
{
s_comApp.CadInputQueue.SendCommand("PLACE FENCE", false);
s_comApp.CommandState.StartPrimitive(areaSelectionCommand, false);
}
}
After further testing, if I comment out the startprimitive command then it works...so there's something with the queued command and the startprimitive command that doesn't work together.