/// <summary> /// Write the support data into the journal /// </summary> private void WriteJournalData() { // Get the StringStringMap class which can write support into. StringStringMap dataMap = m_commandData.Data as StringStringMap; dataMap.Clear(); // Begin to add the support data dataMap.Insert("Wall Type Name", m_createType.Name); // add wall type name dataMap.Insert("Level Id", m_createlevel.Id.IntegerValue.ToString()); // add level id dataMap.Insert("Start Point", XYZToString(m_startPoint)); // add start point dataMap.Insert("End Point", XYZToString(m_endPoint)); // add end point }
/// <summary> /// Dump the selected event list to commandData.Data. /// This method is used in ExternalCommand. /// </summary> /// <param name="eventList"></param> /// <param name="data"></param> public void DumpEventListToJournalData(List <String> eventList, ref StringStringMap data) { foreach (String eventname in eventList) { data.Insert(eventname, "1"); } }
/// <summary> /// Dump the selected event list to commandData.Data. /// This method is used in ExternalCommand. /// </summary> /// <param name="eventList"></param> /// <param name="data"></param> public void DumpEventListToJournalData(List<String> eventList, ref StringStringMap data) { foreach (String eventname in eventList) { data.Insert(eventname, "1"); } }