Beispiel #1
0
		public void AddEntity(DwgEntity entity)
		{
			entities.Add(entity);
		}
		private void MoveEntityToLayer(DwgEntity entity)
		{
			try
			{
				var layer = layers[entity.LayerId];

				layer.AddEntity(entity);
			}
			catch (KeyNotFoundException)
			{
				Debug.Assert(condition: true, message: "KeyNotFoundException in MoveEntityToLayer");
			}
		}