Thank you so much, your help has been invaluable to so many people here. Its amazing. One last question for awhile.
I've created a class (below) containing program settings. How might I store these values between running instances of my main command method? I want the user to be able to set these settings once, and then every time they run the command again, while the current drawing is open, to have these settings already set and ready to go. I don't need these settings themselves saved into the DWG file.
Thanks!
public class UTOptions
{
//public Options(string utname1, string utname2, string confltlyr, string userName, float utdiameter1, float utddiaeter2, float utwallthickness1, float utwallthickness2)
//{
//}
public string utname1 { get; set; } = "Utility 1";
public double utdiameter1 { get; set; } = 0;
public double utwallthickness1 { get; set; } = 0;
public string utname2 { get; set; } = "Utility 2";
public double utdiameter2 { get; set; } = 0;
public double utwallthickness2 { get; set; } = 0;
public string confltlyr { get; set; } = "Utility_Conflits";
public string userName { get; set; } = Environment.UserName;
}