public DimInc_Create(bool softInit) { if (softInit) { //INIT TRANSACTION CLASS tr = new AC_Transactions(); //INIT SETTINGS DIMset = new DIM_Settings(); //INIT UTILITY_MATH acMath = new AC_Math(); } else { //INIT TRANSACTION CLASS tr = new AC_Transactions(); //INIT SETTINGS DIMset = new DIM_Settings(); //INIT PREVIEW CLASS preview = new DimInc_Preview(tr, DIMset); //INIT MOD CLASS DimIncMod = new DimInc_Modified(); //INIT UTILITY_MATH acMath = new AC_Math(); //INIT POINTS AND TEXT ARRAY Points = new List <Point3d>(); DIMtexts = new ObjectIdCollection(); GUID = Guid.NewGuid().ToString(); } }
public DimInc_Create(bool softInit) { if (softInit) { //INIT TRANSACTION CLASS tr = new AC_Transactions(); //INIT SETTINGS DIMset = new DIM_Settings(); //INIT UTILITY_MATH acMath = new AC_Math(); } else { //INIT TRANSACTION CLASS tr = new AC_Transactions(); //INIT SETTINGS DIMset = new DIM_Settings(); //INIT PREVIEW CLASS preview = new DimInc_Preview(tr, DIMset); //INIT MOD CLASS DimIncMod = new DimInc_Modified(); //INIT UTILITY_MATH acMath = new AC_Math(); //INIT POINTS AND TEXT ARRAY Points = new List<Point3d>(); DIMtexts = new ObjectIdCollection(); GUID = Guid.NewGuid().ToString(); } }